Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (31 sloc) 1.062 kb
REPORTER = spec
MOCHA_FLAGS = -t 5000 -s 500
jscoverage: ./node_modules/jscoverage/jscoverage.node
./node_modules/jscoverage/jscoverage.node:
npm install jscoverage
test: jscoverage
@NODE_ENV=mocha ./node_modules/.bin/mocha \
--reporter $(REPORTER) $(MOCHA_FLAGS)
test-debug-brk: jscoverage
@NODE_ENV=mocha ./node_modules/.bin/mocha \
--reporter $(REPORTER) $(MOCHA_FLAGS) --debug-brk
test-debug: jscoverage
@NODE_ENV=mocha ./node_modules/.bin/mocha \
--reporter $(REPORTER) $(MOCHA_FLAGS) --debug
test-cov: jscoverage
-rm -rf lib-cov
jscoverage --no-highlight lib lib-cov
-NODE_ENV=mocha CALIPSO_COV=1 ./node_modules/.bin/mocha --reporter html-cov -t 5000 -s 500 > docs/coverage.html
rm -rf lib-cov
site:
-mkdir ./tmp
cd ./tmp \
&& git clone git@github.com:cliftonc/calipso.git -b gh-pages gh-pages \
&& cp ../docs/* ./gh-pages \
&& cd ./gh-pages \
&& git commit -a -m "Update Pages" \
&& git push \
&& cd .. \
&& rm -rf gh-pages \
&& echo "Pages Updated"
.PHONY: site test test-cov test-debug test-debug-brk lib-cov jscoverage
Jump to Line
Something went wrong with that request. Please try again.