mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-28 16:15:49 +00:00
Fixes compiler warning about SJCL. Fixes coverage source highlighting issue. Move JSBN outside of src/js/jsbn/.
13 lines
268 B
Makefile
13 lines
268 B
Makefile
test:
|
|
mocha --reporter spec test/*-test.js
|
|
|
|
coverage:
|
|
rm -rf src-cov
|
|
mkdir src-cov
|
|
mkdir src-cov/js
|
|
jscoverage --no-highlight src/js/ripple src-cov/js/ripple
|
|
RIPPLE_LIB_COV=1 mocha --reporter html-cov test/*-test.js > coverage.html
|
|
rm -rf src-cov
|
|
|
|
.PHONY: test
|