@@ -8,14 +8,13 @@ MAJOR := $(word 1,$(subst ., ,$(VERSION)))
8
8
MINOR := $(word 2,$(subst ., ,$(VERSION ) ) )
9
9
MAJOR_MINOR_PATCH := $(word 1,$(subst -, ,$(VERSION ) ) )
10
10
11
- all : hub chrome firefox phantomjs chrome_debug firefox_debug standalone_chrome standalone_firefox standalone_chrome_debug standalone_firefox_debug
11
+ all : hub chrome firefox chrome_debug firefox_debug standalone_chrome standalone_firefox standalone_chrome_debug standalone_firefox_debug
12
12
13
13
generate_all : \
14
14
generate_hub \
15
15
generate_nodebase \
16
16
generate_chrome \
17
17
generate_firefox \
18
- generate_phantomjs \
19
18
generate_chrome_debug \
20
19
generate_firefox_debug \
21
20
generate_standalone_firefox \
@@ -90,19 +89,12 @@ generate_firefox_debug:
90
89
firefox_debug : generate_firefox_debug firefox
91
90
cd ./NodeFirefoxDebug && docker build $(BUILD_ARGS ) -t $(NAME ) /node-firefox-debug:$(VERSION ) .
92
91
93
- generate_phantomjs :
94
- cd ./NodePhantomJS && ./generate.sh $(VERSION ) $(NAMESPACE ) $(AUTHORS )
95
-
96
- phantomjs : nodebase generate_phantomjs
97
- cd ./NodePhantomJS && docker build $(BUILD_ARGS ) -t $(NAME ) /node-phantomjs:$(VERSION ) .
98
-
99
92
tag_latest :
100
93
docker tag $(NAME ) /base:$(VERSION ) $(NAME ) /base:latest
101
94
docker tag $(NAME ) /hub:$(VERSION ) $(NAME ) /hub:latest
102
95
docker tag $(NAME ) /node-base:$(VERSION ) $(NAME ) /node-base:latest
103
96
docker tag $(NAME ) /node-chrome:$(VERSION ) $(NAME ) /node-chrome:latest
104
97
docker tag $(NAME ) /node-firefox:$(VERSION ) $(NAME ) /node-firefox:latest
105
- docker tag $(NAME ) /node-phantomjs:$(VERSION ) $(NAME ) /node-phantomjs:latest
106
98
docker tag $(NAME ) /node-chrome-debug:$(VERSION ) $(NAME ) /node-chrome-debug:latest
107
99
docker tag $(NAME ) /node-firefox-debug:$(VERSION ) $(NAME ) /node-firefox-debug:latest
108
100
docker tag $(NAME ) /standalone-chrome:$(VERSION ) $(NAME ) /standalone-chrome:latest
@@ -116,7 +108,6 @@ release_latest:
116
108
docker push $(NAME ) /node-base:latest
117
109
docker push $(NAME ) /node-chrome:latest
118
110
docker push $(NAME ) /node-firefox:latest
119
- docker push $(NAME ) /node-phantomjs:latest
120
111
docker push $(NAME ) /node-chrome-debug:latest
121
112
docker push $(NAME ) /node-firefox-debug:latest
122
113
docker push $(NAME ) /standalone-chrome:latest
@@ -130,7 +121,6 @@ tag_major_minor:
130
121
docker tag $(NAME ) /node-base:$(VERSION ) $(NAME ) /node-base:$(MAJOR )
131
122
docker tag $(NAME ) /node-chrome:$(VERSION ) $(NAME ) /node-chrome:$(MAJOR )
132
123
docker tag $(NAME ) /node-firefox:$(VERSION ) $(NAME ) /node-firefox:$(MAJOR )
133
- docker tag $(NAME ) /node-phantomjs:$(VERSION ) $(NAME ) /node-phantomjs:$(MAJOR )
134
124
docker tag $(NAME ) /node-chrome-debug:$(VERSION ) $(NAME ) /node-chrome-debug:$(MAJOR )
135
125
docker tag $(NAME ) /node-firefox-debug:$(VERSION ) $(NAME ) /node-firefox-debug:$(MAJOR )
136
126
docker tag $(NAME ) /standalone-chrome:$(VERSION ) $(NAME ) /standalone-chrome:$(MAJOR )
@@ -142,7 +132,6 @@ tag_major_minor:
142
132
docker tag $(NAME ) /node-base:$(VERSION ) $(NAME ) /node-base:$(MAJOR ) .$(MINOR )
143
133
docker tag $(NAME ) /node-chrome:$(VERSION ) $(NAME ) /node-chrome:$(MAJOR ) .$(MINOR )
144
134
docker tag $(NAME ) /node-firefox:$(VERSION ) $(NAME ) /node-firefox:$(MAJOR ) .$(MINOR )
145
- docker tag $(NAME ) /node-phantomjs:$(VERSION ) $(NAME ) /node-phantomjs:$(MAJOR ) .$(MINOR )
146
135
docker tag $(NAME ) /node-chrome-debug:$(VERSION ) $(NAME ) /node-chrome-debug:$(MAJOR ) .$(MINOR )
147
136
docker tag $(NAME ) /node-firefox-debug:$(VERSION ) $(NAME ) /node-firefox-debug:$(MAJOR ) .$(MINOR )
148
137
docker tag $(NAME ) /standalone-chrome:$(VERSION ) $(NAME ) /standalone-chrome:$(MAJOR ) .$(MINOR )
@@ -154,7 +143,6 @@ tag_major_minor:
154
143
docker tag $(NAME ) /node-base:$(VERSION ) $(NAME ) /node-base:$(MAJOR_MINOR_PATCH )
155
144
docker tag $(NAME ) /node-chrome:$(VERSION ) $(NAME ) /node-chrome:$(MAJOR_MINOR_PATCH )
156
145
docker tag $(NAME ) /node-firefox:$(VERSION ) $(NAME ) /node-firefox:$(MAJOR_MINOR_PATCH )
157
- docker tag $(NAME ) /node-phantomjs:$(VERSION ) $(NAME ) /node-phantomjs:$(MAJOR_MINOR_PATCH )
158
146
docker tag $(NAME ) /node-chrome-debug:$(VERSION ) $(NAME ) /node-chrome-debug:$(MAJOR_MINOR_PATCH )
159
147
docker tag $(NAME ) /node-firefox-debug:$(VERSION ) $(NAME ) /node-firefox-debug:$(MAJOR_MINOR_PATCH )
160
148
docker tag $(NAME ) /standalone-chrome:$(VERSION ) $(NAME ) /standalone-chrome:$(MAJOR_MINOR_PATCH )
@@ -168,7 +156,6 @@ release: tag_major_minor
168
156
@if ! docker images $(NAME ) /node-base | awk ' { print $$2 }' | grep -q -F $(VERSION ) ; then echo " $( NAME) /node-base version $( VERSION) is not yet built. Please run 'make build'" ; false ; fi
169
157
@if ! docker images $(NAME ) /node-chrome | awk ' { print $$2 }' | grep -q -F $(VERSION ) ; then echo " $( NAME) /node-chrome version $( VERSION) is not yet built. Please run 'make build'" ; false ; fi
170
158
@if ! docker images $(NAME ) /node-firefox | awk ' { print $$2 }' | grep -q -F $(VERSION ) ; then echo " $( NAME) /node-firefox version $( VERSION) is not yet built. Please run 'make build'" ; false ; fi
171
- @if ! docker images $(NAME ) /node-phantomjs | awk ' { print $$2 }' | grep -q -F $(VERSION ) ; then echo " $( NAME) /node-phantomjs version $( VERSION) is not yet built. Please run 'make build'" ; false ; fi
172
159
@if ! docker images $(NAME ) /node-chrome-debug | awk ' { print $$2 }' | grep -q -F $(VERSION ) ; then echo " $( NAME) /node-chrome-debug version $( VERSION) is not yet built. Please run 'make build'" ; false ; fi
173
160
@if ! docker images $(NAME ) /node-firefox-debug | awk ' { print $$2 }' | grep -q -F $(VERSION ) ; then echo " $( NAME) /node-firefox-debug version $( VERSION) is not yet built. Please run 'make build'" ; false ; fi
174
161
@if ! docker images $(NAME ) /standalone-chrome | awk ' { print $$2 }' | grep -q -F $(VERSION ) ; then echo " $( NAME) /standalone-chrome version $( VERSION) is not yet built. Please run 'make build'" ; false ; fi
@@ -180,7 +167,6 @@ release: tag_major_minor
180
167
docker push $(NAME ) /node-base:$(VERSION )
181
168
docker push $(NAME ) /node-chrome:$(VERSION )
182
169
docker push $(NAME ) /node-firefox:$(VERSION )
183
- docker push $(NAME ) /node-phantomjs:$(VERSION )
184
170
docker push $(NAME ) /node-chrome-debug:$(VERSION )
185
171
docker push $(NAME ) /node-firefox-debug:$(VERSION )
186
172
docker push $(NAME ) /standalone-chrome:$(VERSION )
@@ -193,7 +179,6 @@ release: tag_major_minor
193
179
docker push $(NAME ) /node-base:$(MAJOR )
194
180
docker push $(NAME ) /node-chrome:$(MAJOR )
195
181
docker push $(NAME ) /node-firefox:$(MAJOR )
196
- docker push $(NAME ) /node-phantomjs:$(MAJOR )
197
182
docker push $(NAME ) /node-chrome-debug:$(MAJOR )
198
183
docker push $(NAME ) /node-firefox-debug:$(MAJOR )
199
184
docker push $(NAME ) /standalone-chrome:$(MAJOR )
@@ -206,7 +191,6 @@ release: tag_major_minor
206
191
docker push $(NAME ) /node-base:$(MAJOR ) .$(MINOR )
207
192
docker push $(NAME ) /node-chrome:$(MAJOR ) .$(MINOR )
208
193
docker push $(NAME ) /node-firefox:$(MAJOR ) .$(MINOR )
209
- docker push $(NAME ) /node-phantomjs:$(MAJOR ) .$(MINOR )
210
194
docker push $(NAME ) /node-chrome-debug:$(MAJOR ) .$(MINOR )
211
195
docker push $(NAME ) /node-firefox-debug:$(MAJOR ) .$(MINOR )
212
196
docker push $(NAME ) /standalone-chrome:$(MAJOR ) .$(MINOR )
@@ -219,7 +203,6 @@ release: tag_major_minor
219
203
docker push $(NAME ) /node-base:$(MAJOR_MINOR_PATCH )
220
204
docker push $(NAME ) /node-chrome:$(MAJOR_MINOR_PATCH )
221
205
docker push $(NAME ) /node-firefox:$(MAJOR_MINOR_PATCH )
222
- docker push $(NAME ) /node-phantomjs:$(MAJOR_MINOR_PATCH )
223
206
docker push $(NAME ) /node-chrome-debug:$(MAJOR_MINOR_PATCH )
224
207
docker push $(NAME ) /node-firefox-debug:$(MAJOR_MINOR_PATCH )
225
208
docker push $(NAME ) /standalone-chrome:$(MAJOR_MINOR_PATCH )
@@ -228,7 +211,8 @@ release: tag_major_minor
228
211
docker push $(NAME ) /standalone-chrome-debug:$(MAJOR_MINOR_PATCH )
229
212
docker push $(NAME ) /standalone-firefox-debug:$(MAJOR_MINOR_PATCH )
230
213
231
- test : test_chrome \
214
+ test : test_shell_functions \
215
+ test_chrome \
232
216
test_firefox \
233
217
test_chrome_debug \
234
218
test_firefox_debug \
@@ -238,6 +222,9 @@ test: test_chrome \
238
222
test_firefox_standalone_debug
239
223
240
224
225
+ test_shell_functions :
226
+ ./tests/test-shell-functions.sh
227
+
241
228
test_chrome :
242
229
VERSION=$(VERSION ) NAMESPACE=$(NAMESPACE ) ./tests/bootstrap.sh NodeChrome
243
230
@@ -262,9 +249,6 @@ test_firefox_standalone:
262
249
test_firefox_standalone_debug :
263
250
VERSION=$(VERSION ) NAMESPACE=$(NAMESPACE ) ./tests/bootstrap.sh StandaloneFirefoxDebug
264
251
265
- test_phantomjs :
266
- VERSION=$(VERSION ) NAMESPACE=$(NAMESPACE ) ./tests/bootstrap.sh NodePhantomJS
267
-
268
252
269
253
.PHONY : \
270
254
all \
@@ -275,13 +259,11 @@ test_phantomjs:
275
259
ci \
276
260
firefox \
277
261
firefox_debug \
278
- phantomjs \
279
262
generate_all \
280
263
generate_hub \
281
264
generate_nodebase \
282
265
generate_chrome \
283
266
generate_firefox \
284
- generate_phantomjs \
285
267
generate_chrome_debug \
286
268
generate_firefox_debug \
287
269
generate_standalone_chrome \
0 commit comments