Skip to content
This repository
file 21 lines (15 sloc) 0.458 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
REPORTER = spec
MOCHA = node_modules/.bin/mocha

test:
@NODE_ENV=test $(MOCHA) --require should --reporter $(REPORTER)

test-colors:
@NODE_ENV=test $(MOCHA) --require should --reporter $(REPORTER) --colors

test-cov: lib-cov
@FLUENTFFMPEG_COV=1 $(MAKE) test REPORTER=html-cov > test/coverage.html

lib-cov:
@rm -fr ./$@
@jscoverage lib $@

publish:
@npm version patch -m "version bump"
@npm publish

.PHONY: test test-cov lib-cov test-colors publish
Something went wrong with that request. Please try again.