File tree 1 file changed +8
-11
lines changed
1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
1
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}'
3
4
4
- test :
5
+ test : # # run tests either in the browser or in Node.js, based on the `BROWSERS` variable
5
6
@if [ " x$( BROWSERS) " = " x" ]; then make test-node; else make test-zuul; fi
6
7
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
12
10
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
16
13
17
- .PHONY : test
14
+ .PHONY : help test test-node test-zuul
You can’t perform that action at this time.
0 commit comments