Skip to content

Commit

Permalink
chore(Makefile): config githooks in setup command
Browse files Browse the repository at this point in the history
* chore(Makefile): config githooks in setup script

* chore(Makefile): add setup to .phony
  • Loading branch information
jedimahdi authored Feb 20, 2021
1 parent 612f19a commit 32f5991
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ else
cd $(dir) && $(MAKE) wtest
endif

wtest-api:
wtest-api:
$(MAKE) wtest dir=cascade-api

clean:
cabal new-clean
git clean -Xdf

.PHONY: wtest wtest-api clean
setup:
git config core.hooksPath .githooks

.PHONY: wtest wtest-api clean setup

0 comments on commit 32f5991

Please sign in to comment.