-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
66 lines (49 loc) · 1.31 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# Usage:
#
# $ make lint
#
# $ make test
#
# $ make DEBUG=1 test-stage
#
ifndef MAKEFLAGS
MAKEFLAGS += -j 8
endif
export DEBUG=0
.PHONY: doc/wordpress.md build lint test
all: build lint
build: doc/wordpress.md
doc/wordpress.md:
./bin/build_wordpress_md.sh
lint:
puppet-lint --fail-on-warnings .
@ ./bin/build_wordpress_md.sh --verify
test: test-codeorigin-prod-http test-codeorigin-prod-https test-codeorigin-next-http test-codeorigin-next-https test-codeorigin-stage test-contentorigin-prod test-miscweb test-wpdocs test-releases
test-codeorigin-prod-http:
@ php test/CodeoriginTest.php "http://code.jquery.com"
@ echo "✅ $@"
test-codeorigin-prod-https:
@ php test/CodeoriginTest.php "https://code.jquery.com"
@ echo "✅ $@"
test-codeorigin-next-http:
@ php test/CodeoriginTest.php "http://codeorigin.jquery.com"
@ echo "✅ $@"
test-codeorigin-next-https:
@ php test/CodeoriginTest.php "https://codeorigin.jquery.com"
@ echo "✅ $@"
test-codeorigin-stage:
@ php test/CodeoriginTest.php "https://codeorigin-02.stage.ops.jquery.net"
@ echo "✅ $@"
test-contentorigin-prod:
@ php test/ContentoriginTest.php
@ echo "✅ $@"
test-miscweb:
@ php test/MiscwebTest.php
@ echo "✅ $@"
test-wpdocs:
@ php test/WpdocsTest.php
@ echo "✅ $@"
test-releases:
@ php test/ReleasesTest.php
@ echo "✅ $@"