ADD: create git commit/merge/checkout hooks

This commit is contained in:
Dominik Meyer 2018-03-28 13:58:34 +02:00
parent 7bc7036f46
commit a3a22a4c79
No known key found for this signature in database
GPG Key ID: B4C312B600606B64
1 changed files with 8 additions and 1 deletions

View File

@ -46,7 +46,14 @@ IEEEtran.cls:
@unzip -j ieee-latex-conference-template.zip IEEEtran/IEEEtran.cls >/dev/null
@rm ieee-latex-conference-template.zip
base: .gitignore .latexmkrc
base: .gitignore .latexmkrc .git/hooks/post-commit
.git/hooks/post-commit .git/hooks/post-merge .git/hooks/post-checkout: Paper-Makefile/post-commit
cp Paper-Makefile/post-commit .git/hooks/
cp Paper-Makefile/post-commit .git/hooks/post-merge
cp Paper-Makefile/post-commit .git/hooks/post-checkout
chmod u+x .git/hooks/*
.git/hooks/post-commit
.gitignore:
@echo *.pdf >> .gitignore