raspberryGPIOhtmlserver/node_modules/socket.io-client/Makefile
node_modules/socket.io-client/MakefileRaw
1
2REPORTER = dot
3
4build: socket.io.js
5
6socket.io.js: lib/*.js package.json
7 @./support/browserify.sh > socket.io.js
8
9test:
10 @if [ "x$(BROWSER_NAME)" = "x" ]; then make test-node; else make test-zuul; fi
11
12test-node:
13 @./node_modules/.bin/mocha \
14 --reporter $(REPORTER) \
15 test/index.js
16
17test-zuul:
18 @if [ "x$(BROWSER_PLATFORM)" = "x" ]; then \
19 ./node_modules/zuul/bin/zuul \
20 --browser-name $(BROWSER_NAME) \
21 --browser-version $(BROWSER_VERSION) \
22 test/index.js; \
23 else \
24 ./node_modules/zuul/bin/zuul \
25 --browser-name $(BROWSER_NAME) \
26 --browser-version $(BROWSER_VERSION) \
27 --browser-platform "$(BROWSER_PLATFORM)" \
28 test/index.js; \
29 fi
30
31test-cov:
32 @./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- \
33 --reporter $(REPORTER) \
34 test/
35
36.PHONY: test