mecano
Version:
Common functions for system deployment.
19 lines (13 loc) • 414 B
Plain Text
REPORTER = dot
build:
@./node_modules/.bin/coffee -b -o lib src
test: build
@NODE_ENV=test ./node_modules/.bin/mocha --compilers coffee:coffee-script/register \
--reporter $(REPORTER)
doc: build
@./node_modules/.bin/coffee src/doc.coffee $(MECANO_DOC)
coverage: build
@jscoverage --no-highlight lib lib-cov
@MECANO_COV=1 $(MAKE) test REPORTER=html-cov > doc/coverage.html
@rm -rf lib-cov
.PHONY: test