1 | REPORTER = list
|
2 |
|
3 | test:
|
4 | @NODE_ENV=test ./node_modules/.bin/mocha -u bdd --require should --reporter $(REPORTER)
|
5 |
|
6 | test-cov: lib-cov
|
7 | @FLUENTFFMPEG_COV=1 $(MAKE) test REPORTER=html-cov > test/coverage.html
|
8 |
|
9 | lib-cov:
|
10 | @rm -fr ./$@
|
11 | @jscoverage --no-highlight lib $@
|
12 |
|
13 | .PHONY: test test-cov lib-cov |
\ | No newline at end of file |