1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
.PHONY : test
test :
rm -rf _coverage *.coverage
npm run instrument
npm run execute
./node_modules/.bin/bisect-ppx-report html
./node_modules/.bin/bisect-ppx-report summary | diff expected -
./node_modules/.bin/bisect-ppx-report summary
@echo "See _coverage/index.html."
.PHONY : full-test
full-test : clean install test
.PHONY : install
install :
npm pack ../..
tar xf *.tgz
npm install
npm list || true
.PHONY : clean
clean :
rm -rf node_modules lib _esy *.tgz package *.coverage _coverage \
package-lock.json
.PHONY : clean-for-caching
clean-for-caching :
npm uninstall --no-save bisect_ppx || true
rm -rf node_modules/bisect_ppx
|