File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 11
2- REPORTER = dot
2+ help : # # print this message
3+ @grep -E ' ^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | awk ' BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
34
4- test :
5+ test : # # run tests either in the browser or in Node.js, based on the `BROWSERS` variable
56 @if [ " x$( BROWSERS) " = " x" ]; then make test-node; else make test-zuul; fi
67
7- test-node :
8- @./node_modules/.bin/mocha \
9- --reporter $(REPORTER ) \
10- --bail \
11- test/index.js
8+ test-node : # # run tests in Node.js
9+ @./node_modules/.bin/mocha --reporter dot --bail test/index.js
1210
13- test-zuul :
14- @./node_modules/zuul/bin/zuul \
15- test/index.js
11+ test-zuul : # # run tests in the browser
12+ @./node_modules/zuul/bin/zuul test/index.js
1613
17- .PHONY : test
14+ .PHONY : help test test-node test-zuul
You can’t perform that action at this time.
0 commit comments