UNPKG

node-barefoot

Version:

Barefoot makes code sharing between browser and server reality. Write your application once and run it on both ends of the wire.

21 lines (14 loc) 535 B
TEST_CMD=./node_modules/.bin/mocha --require test/runner.js test/specs/ docs: @-mkdir ./docs @NaturalDocs -i ./ -o HTML ./docs -p ./.naturaldocs -xi test -xi ./node_modules -s Default style lint: @./node_modules/.bin/jshint lib/ test: @$(TEST_CMD) --reporter spec instrument-for-coverage: @jscoverage lib lib-cov test-coveralls: instrument-for-coverage @BAREFOOT_COVERAGE=1 $(TEST_CMD) --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js lib @-rm -fr ./lib-cov .PHONY: docs test test-coveralls lint