Skip to content

Commit

Permalink
Additional makefile targets for test and coverage
Browse files Browse the repository at this point in the history
'cause make is winsauce :D
  • Loading branch information
minichate committed Dec 13, 2015
1 parent 57705cc commit 14eb78f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
REMOTE=origin

.PHONY: test
.PHONY: coverage

.DEFAULT_GOAL := test

# Utility target for checking required parameters
guard-%:
@if [ "$($*)" = '' ]; then \
Expand All @@ -20,3 +25,9 @@ release: guard-VERSION
git push $(REMOTE) --tags
git push $(REMOTE) master
npm publish

test:
npm test

coverage:
npm run coverage

0 comments on commit 14eb78f

Please sign in to comment.