Skip to content

Commit

Permalink
Install pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Jun 17, 2015
1 parent df48d6e commit 5f59a5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.omdev.mingw
Expand Up @@ -63,6 +63,7 @@ CMINPACKLIB_SHARED = OFF
CONFIG_REVISION = $(shell git describe --match "v*.*" --always)

revision:
test ! -e .git || cp -puf common/pre-commit.sh `git rev-parse --git-dir`/hooks/pre-commit
@echo Current revision: $(CONFIG_REVISION)
ifeq ($(CONFIG_REVISION),)
@if test -f revision.h; \
Expand Down

0 comments on commit 5f59a5b

Please sign in to comment.