Skip to content

Commit 3065d66

Browse files
author
Nicolas Joyard
committed
Fix coverage generation
1 parent 075747a commit 3065d66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ test:
77
test-colors:
88
@NODE_ENV=test $(MOCHA) --require should --reporter $(REPORTER) --colors
99

10-
test-cov: lib-cov
11-
@FLUENTFFMPEG_COV=1 $(MAKE) test REPORTER=html-cov > test/coverage.html
10+
test-cov: test/coverage.html
11+
12+
test/coverage.html: lib-cov
13+
@FLUENTFFMPEG_COV=1 NODE_ENV=test $(MOCHA) --require should --reporter html-cov > test/coverage.html
1214

1315
lib-cov:
1416
@rm -fr ./$@

0 commit comments

Comments
 (0)