Created
May 30, 2017 18:14
-
-
Save pcn/b937ed1a85d3d7f6b2fd09acd76fa77c to your computer and use it in GitHub Desktop.
git pre-commit hook for using fac
This file contains hidden or 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 | |
| which fac | |
| if [ $? -eq 1 ] ; then | |
| exit 0 ; # fac isn't installed, don't try to invoke it | |
| fi | |
| set -ev | |
| fac -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment