forked from sockjs/sockjs-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 717 Bytes
/
Makefile
File metadata and controls
29 lines (23 loc) · 717 Bytes
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
testbundle:
@./node_modules/.bin/gulp testbundle
test:
@if [ "x$(BROWSER_NAME)" = "x" ]; then make test-node; else make test-zuul; fi
test-node:
@./node_modules/.bin/mocha \
tests/node.js
test-zuul: testbundle
@if [ "x$(BROWSER_PLATFORM)" = "x" ]; then \
./node_modules/.bin/zuul \
--browser-name $(BROWSER_NAME) \
--browser-version $(BROWSER_VERSION) \
tests/browser.js; \
else \
./node_modules/.bin/zuul \
--browser-name $(BROWSER_NAME) \
--browser-version $(BROWSER_VERSION) \
--browser-platform "$(BROWSER_PLATFORM)" \
tests/browser.js; \
fi
test-local: testbundle
@./node_modules/.bin/zuul --local 9090 -- tests/browser.js
.PHONY: test test-node test-zuul test-local testbundle