Skip to content

Commit

Permalink
Add pre-commit hook to execute tests (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
childish-sambino committed Jul 9, 2019
1 parent 118d805 commit 86b27da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
@@ -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
@@ -0,0 +1 @@
make test

0 comments on commit 86b27da

Please sign in to comment.