aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGregg Caines <[email protected]>2013-11-15 13:08:29 -0800
committerGregg Caines <[email protected]>2013-11-15 13:08:29 -0800
commit097ce4e175e701efb95fd8aeaeb81a9d929d90ba (patch)
tree97bf43b178f0f21b168c10474afbae7627ecc652 /Makefile
parentd52c62b04c5c11fd931ca967f09621d03c330f88 (diff)
parenta639b7dcb280f3b1ab6c8357fb3c8b9057543e79 (diff)
downloadnode-coveralls-097ce4e175e701efb95fd8aeaeb81a9d929d90ba.tar.xz
node-coveralls-097ce4e175e701efb95fd8aeaeb81a9d929d90ba.zip
Merge pull request #25 from tdd/master
Fix direct dev use on a local Git repo + improve Git metadata fetching
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 938b2c0..6d761a3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
REPORTER = spec
test:
- $(MAKE) lint
- echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
+ @$(MAKE) lint
+ @echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
+ @$(MAKE) core_test
+
+core_test:
@NODE_ENV=test ./node_modules/.bin/mocha -b --require blanket --reporter $(REPORTER)
lint:
@@ -9,11 +12,11 @@ lint:
test-cov:
$(MAKE) test REPORTER=spec
- $(MAKE) test REPORTER=html-cov 1> coverage.html
+ $(MAKE) core_test REPORTER=html-cov > coverage.html
test-coveralls:
$(MAKE) test REPORTER=spec
- $(MAKE) test REPORTER=mocha-lcov-reporter | ./bin/coveralls.js --verbose
+ $(MAKE) core_test REPORTER=mocha-lcov-reporter | ./bin/coveralls.js --verbose
rm -rf lib-cov
.PHONY: test