@@ -93,21 +93,29 @@ help:
93
93
@echo
94
94
@echo " Main targets:"
95
95
@echo
96
- @echo " - help Display this help message"
97
- @echo " - serve-ngeo Run a development web server for running the ngeo examples"
98
- @echo " - serve-gmf Run a development web server for running the gmf examples"
99
- @echo " - serve-gmf-apps Run a development web server for running the gmf apps"
100
- @echo " - check Perform a number of checks on the code"
101
- @echo " - test Run the test suite"
102
- @echo " - test-debug Run the test suite in the browser"
103
- @echo " - clean Remove generated files"
104
- @echo " - cleanall Remove all the build artefacts"
105
- @echo " - cleanallcache Remove all the build artefacts and the extra caches (npm and pip)"
96
+ @echo " - help Display this help message"
97
+ @echo " - serve-ngeo Run a development web server for running the ngeo examples"
98
+ @echo " - serve-gmf Run a development web server for running the gmf examples"
99
+ @echo " - serve-gmf-apps-desktop Run a development web server for running the gmf app desktop"
100
+ @echo " - serve-gmf-apps-desktopalti Run a development web server for running the gmf app desktop_alt"
101
+ @echo " - serve-gmf-apps-mobile Run a development web server for running the gmf app mobile"
102
+ @echo " - serve-gmf-apps-mobilealt Run a development web server for running the gmf app mobile_alt"
103
+ @echo " - serve-gmf-apps-oeedit Run a development web server for running the gmf app oeedit"
104
+ @echo " - serve-gmf-apps-oeview Run a development web server for running the gmf app oeview"
105
+ @echo " - examples-hosted Build the hosted examples"
106
+ @echo " - examples-hosted-ngeo Build the ngeo hosted examples"
107
+ @echo " - examples-hosted-gmf Build the gmf hosted examples"
108
+ @echo " - examples-hosted-apps Build the gmf apps hosted examples"
109
+ @echo " - check Perform a number of checks on the code"
110
+ @echo " - test Run the test suite"
111
+ @echo " - test-debug Run the test suite in the browser"
112
+ @echo " - clean Remove generated files"
113
+ @echo " - cleanall Remove all the build artefacts"
114
+ @echo " - cleanallcache Remove all the build artefacts and the extra caches (npm and pip)"
106
115
@echo
107
116
@echo " Secondary targets:"
108
117
@echo
109
118
@echo " - apidoc Build the API documentation using JSDoc"
110
- @echo " - examples-hosted Build the hosted examples"
111
119
@echo " - lint Check the code with the linter"
112
120
@echo " - gh-pages Update the GitHub pages"
113
121
@echo
@@ -116,13 +124,7 @@ help:
116
124
apidoc : .build/apidoc
117
125
118
126
.PHONY : check
119
- check : lint check-examples-checker check-examples test build-gmf-apps
120
-
121
- .PHONY : build-gmf-apps
122
- build-gmf-apps : \
123
- $(addprefix contribs/gmf/build/gmf-,$(addsuffix .json, $(LANGUAGES ) ) ) \
124
- $(ANGULAR_LOCALES_FILES )
125
- # TODO: call webpack to build the gmf apps (in contribs/gmf/build)
127
+ check : lint check-examples-checker check-examples test examples-hosted-apps
126
128
127
129
.PHONY : check-examples-checker
128
130
check-example-checker : $(CHECK_EXAMPLE_CHECKER )
@@ -171,9 +173,29 @@ serve-ngeo: .build/node_modules.timestamp $(FONTAWESOME_WEBFONT) $(ANGULAR_LOCAL
171
173
serve-gmf : .build/node_modules.timestamp $(FONTAWESOME_WEBFONT ) $(ANGULAR_LOCALES_FILES )
172
174
npm run serve-gmf-examples
173
175
174
- .PHONY : serve-gmf-apps
175
- serve-gmf-apps : .build/node_modules.timestamp $(FONTAWESOME_WEBFONT ) $(ANGULAR_LOCALES_FILES )
176
- npm run serve-gmf-apps
176
+ .PHONY : serve-gmf-apps-desktop
177
+ serve-gmf-apps-desktop : .build/node_modules.timestamp $(FONTAWESOME_WEBFONT ) $(ANGULAR_LOCALES_FILES )
178
+ APP=desktop THEME=desktop npm run serve-gmf-apps
179
+
180
+ .PHONY : serve-gmf-apps-desktopalt
181
+ serve-gmf-apps-desktopalt : .build/node_modules.timestamp $(FONTAWESOME_WEBFONT ) $(ANGULAR_LOCALES_FILES )
182
+ APP=desktop_alt THEME=desktop_alt npm run serve-gmf-apps
183
+
184
+ .PHONY : serve-gmf-apps-mobile
185
+ serve-gmf-apps-mobile : .build/node_modules.timestamp $(FONTAWESOME_WEBFONT ) $(ANGULAR_LOCALES_FILES )
186
+ APP=mobile npm run serve-gmf-apps
187
+
188
+ .PHONY : serve-gmf-apps-mobilealt
189
+ serve-gmf-apps-mobilealt : .build/node_modules.timestamp $(FONTAWESOME_WEBFONT ) $(ANGULAR_LOCALES_FILES )
190
+ APP=mobile_alt npm run serve-gmf-apps
191
+
192
+ .PHONY : serve-gmf-apps-oeedit
193
+ serve-gmf-apps-oeedit : .build/node_modules.timestamp $(FONTAWESOME_WEBFONT ) $(ANGULAR_LOCALES_FILES )
194
+ APP=oeedit THEME=desktop npm run serve-gmf-apps
195
+
196
+ .PHONY : serve-gmf-apps-oeview
197
+ serve-gmf-apps-oeview : .build/node_modules.timestamp $(FONTAWESOME_WEBFONT ) $(ANGULAR_LOCALES_FILES )
198
+ APP=oeview THEME=desktop npm run serve-gmf-apps
177
199
178
200
.PHONY : examples-hosted
179
201
examples-hosted : \
@@ -199,7 +221,12 @@ examples-hosted-gmf: .build/examples-gmf.timestamp .build/examples-hosted/contri
199
221
examples-hosted-apps : .build/gmf-apps.timestamp .build/examples-hosted-gmf-apps-deps.timestamp
200
222
201
223
.build/gmf-apps.timestamp : $(GMF_APPS_ALL_SRC_FILES ) $(WEBPACK_CONFIG_FILES ) .build/node_modules.timestamp
202
- npm run build-gmf-apps
224
+ APP=desktop THEME=desktop npm run build-gmf-apps
225
+ APP=desktop_alt THEME=desktop_alt npm run build-gmf-apps
226
+ APP=mobile npm run build-gmf-apps
227
+ APP=mobile_alt npm run build-gmf-apps
228
+ APP=oeedit THEME=desktop npm run build-gmf-apps
229
+ APP=oeview THEME=desktop npm run build-gmf-apps
203
230
touch $@
204
231
205
232
.PHONY : gh-pages
0 commit comments