forked from voltrue2/in-app-purchase
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile
51 lines (40 loc) · 1.43 KB
/
Makefile
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
39
40
41
42
43
44
45
46
47
48
49
50
51
.PHONY: lint
lint:
./lint
.PHONY: test
test:
npx mocha test/apple.js -R spec -b --timeout=5000 --path=false
npx mocha test/google.js -R spec -b --path=false --pk=false
npx mocha test/amazon.js -R spec -b --timeout=5000 --sharedKey=false --path=false
npx mocha test/windows.js -R spec -b --timeout=5000 --path=false
#npx mocha test/facebook.js -R spec -b --timeout=5000 --appAccessToken=false --path=false
.PHONY: aptest
aptest:
npx mocha test/apple.js -R spec -b --timeout=5000 --path=false
.PHONY: gotest
gotest:
npx mocha test/google.js -R spec -b --path=false --pk=false
.PHONY: amtest
amtest:
npx mocha test/amazon.js -R spec -b --timeout=5000 --sharedKey=false --path=false
.PHONY: witest
witest:
npx mocha test/windows.js -R spec -b --timeout=5000 --path=false
.PHONY: fatest
witest:
npx mocha test/facebook.js -R spec -b --timeout=5000 --appAccessToken=false --path=false
.PHONY: test-apple
test-apple:
npx mocha test/apple.js -R spec -b --timeout=5000 --path=$(path)
.PHONY: test-google
test-google:
npx mocha test/google.js -R spec -b --path=$(path) --pk=$(pk)
.PHONY: test-windows
test-windows:
npx mocha test/windows.js -R spec -b --timeout=5000 --path=$(path)
.PHONY: test-amazon
test-amazon:
npx mocha test/amazon.js -R spec -b --timeout=5000 --sharedKey=$(sharedKey) --path=$(path)
.PHONY: test-facebook
test-facebook:
npx mocha test/facebook.js -R spec -b --timeout=5000 --appAccessToken=$(appAccessToken) --path=$(path)