mirror of
https://github.com/status-im/burnchart.git
synced 2025-02-09 09:03:52 +00:00
fix buggy makefile
This commit is contained in:
parent
abf76196ce
commit
d058735742
8
Makefile
8
Makefile
@ -39,15 +39,15 @@ OPTS = --compilers coffee:coffee-script/register --ui exports --timeout 20000 --
|
||||
|
||||
# Run mocha test.
|
||||
test:
|
||||
REPORTER = spec
|
||||
$(MOCHA) $(OPTS) --reporter $(REPORTER)
|
||||
$(MOCHA) $(OPTS) --reporter spec
|
||||
|
||||
# Run code coverage.
|
||||
coverage:
|
||||
$(MOCHA) $(OPTS) --reporter $(REPORTER) --require blanket > docs/COVERAGE.html
|
||||
$(MOCHA) $(OPTS) --reporter html-cov --require blanket > docs/COVERAGE.html
|
||||
|
||||
# Run code coverage and publish to coveralls.
|
||||
coveralls:
|
||||
$(MOCHA) $(OPTS) --reporter $(REPORTER) --require blanket | COVERALLS_SERVICE_NAME=MOCHA $(COVERALLS)
|
||||
TOKEN = PASSWORD1
|
||||
$(MOCHA) $(OPTS) --reporter mocha-lcov-reporter --require blanket | COVERALLS_REPO_TOKEN=$(TOKEN) COVERALLS_SERVICE_NAME=MOCHA $(COVERALLS)
|
||||
|
||||
.PHONY: test
|
Loading…
x
Reference in New Issue
Block a user