]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0084.git/blob - example/iot-gateway/node_modules/engine.io-client/Makefile
Initial commit
[apps/tidep0084.git] / example / iot-gateway / node_modules / engine.io-client / Makefile
2 REPORTER = dot
4 build: engine.io.js
6 engine.io.js: lib/*.js lib/transports/*.js package.json
7         @./support/browserify.sh > engine.io.js
9 test:
10         @if [ "x$(BROWSER_NAME)" = "x" ]; then make test-node; else make test-zuul; fi
12 test-node:
13         @./node_modules/.bin/mocha \
14                 --reporter $(REPORTER) \
15                 --require test/support/server.js \
16                 test/index.js
18 test-zuul:
19         @if [ "x$(BROWSER_PLATFORM)" = "x" ]; then \
20                 ./node_modules/zuul/bin/zuul \
21                 --browser-name $(BROWSER_NAME) \
22                 --browser-version $(BROWSER_VERSION) \
23                 test/index.js; \
24                 else \
25                 ./node_modules/zuul/bin/zuul \
26                 --browser-name $(BROWSER_NAME) \
27                 --browser-version $(BROWSER_VERSION) \
28                 --browser-platform "$(BROWSER_PLATFORM)" \
29                 test/index.js; \
30         fi
32 test-cov:
33         @./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- \
34                 --require ./test/common \
35                 --reporter $(REPORTER) \
36                 $(TESTS)
38 .PHONY: test build