fcs
2025-04-10 0163870d662dc5b7d69ceff977490ede594f7d82
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
30
31
32
33
34
35
36
37
38
 
REPORTER = dot
 
build: engine.io.js
 
engine.io.js: lib/*.js lib/transports/*.js package.json
    @./support/browserify.sh > engine.io.js
 
test:
    @if [ "x$(BROWSER_NAME)" = "x" ]; then make test-node; else make test-zuul; fi
 
test-node:
    @./node_modules/.bin/mocha \
        --reporter $(REPORTER) \
        --require test/support/server.js \
        test/index.js
 
test-zuul:
    @if [ "x$(BROWSER_PLATFORM)" = "x" ]; then \
        ./node_modules/zuul/bin/zuul \
        --browser-name $(BROWSER_NAME) \
        --browser-version $(BROWSER_VERSION) \
        test/index.js; \
        else \
        ./node_modules/zuul/bin/zuul \
        --browser-name $(BROWSER_NAME) \
        --browser-version $(BROWSER_VERSION) \
        --browser-platform "$(BROWSER_PLATFORM)" \
        test/index.js; \
    fi
 
test-cov:
    @./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- \
        --require ./test/common \
        --reporter $(REPORTER) \
        $(TESTS)
 
.PHONY: test build