Files
ng-qtip2/pre-commit.hook
2016-03-06 19:05:19 +02:00

12 lines
211 B
Bash

#!/usr/bin/env bash
# put this in ./.git/hooks for auto-generation of JS from CS
PATH="$PATH:/usr/local/bin"
# echo 'Compressing .coffee...'
find . -name '*.coffee' -exec coffee -c {} \;
git add *.js
exit 0