Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ianwestcott on github.
  • I am ianwestcott (https://keybase.io/ianwestcott) on keybase.
  • I have a public key whose fingerprint is 8836 DC3B B73C 83B5 9D77 B917 CFCC C89C C5CF 38CF

To claim this, I am signing this object:

@ianwestcott
ianwestcott / pre-commit
Created December 6, 2012 18:41
CFEngine pre-commit validation hook
#!/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 $?