Skip to content

Instantly share code, notes, and snippets.

@konstantin-morenko
Created May 9, 2019 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konstantin-morenko/2714dabbc3ddb4b080ce1c26b48b11ab to your computer and use it in GitHub Desktop.
Save konstantin-morenko/2714dabbc3ddb4b080ce1c26b48b11ab to your computer and use it in GitHub Desktop.
[Git] Pre-commit hook checking build targets is up-to-date
#!/bin/sh
# Check the rebuild files are up-to-date
if ! $(make -q) ; then
echo "Remake files with make"; exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment