Skip to content

Commit

Permalink
make test-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
vesln committed Dec 29, 2013
1 parent 8adc598 commit fcb7acd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Paths
#

COV = node_modules/.bin/istanbul
COV_EXEC = node_modules/.bin/_hydro
TEST_EXEC = node_modules/.bin/hydro
ISTANBUL = node_modules/.bin/istanbul
COVERALLS = node_modules/coveralls/bin/coveralls.js

#
Expand Down Expand Up @@ -32,6 +32,13 @@ test: test-node
test-node: node_modules
@$(TEST_EXEC)

#
# Test coverage
#

test-cov: node_modules
@$(COV) cover $(COV_EXEC)

#
# Clean all
#
Expand Down Expand Up @@ -63,7 +70,7 @@ ci: test-node coveralls
#

coveralls: node_modules
@$(ISTANBUL) cover $(COV_EXEC) --report lcovonly && cat ./coverage/lcov.info | $(COVERALLS)
@$(COV) cover $(COV_EXEC) --report lcovonly && cat ./coverage/lcov.info | $(COVERALLS)

#
# Install Node.js modules
Expand Down

0 comments on commit fcb7acd

Please sign in to comment.