Skip to content

Commit

Permalink
Add pre-commit hook to execute tests (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
childish-sambino committed Jul 9, 2019
1 parent 17a0da2 commit 76f88d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.PHONY: install test clean
.PHONY: githooks install test clean

install:
githooks:
ln -sf ../../githooks/pre-commit .git/hooks/pre-commit

install: githooks
npm install

test:
Expand Down
1 change: 1 addition & 0 deletions githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
make test

0 comments on commit 76f88d7

Please sign in to comment.