Created
December 6, 2012 18:41
-
-
Save ianwestcott/4226937 to your computer and use it in GitHub Desktop.
CFEngine pre-commit validation hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# runs cf-promises on the promises.cf file and fails | |
# if they don't validate. stdout is muted but stderr | |
# still outputs to the shell | |
cf-promises -nf ./promises.cf > /dev/null | |
exit $? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment