File tree Expand file tree Collapse file tree 8 files changed +23
-7
lines changed
api/ogc/static/landingpage Expand file tree Collapse file tree 8 files changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ qgis.kdev4
56
56
qgis.supp
57
57
qgis-test.ctest
58
58
qtcreator-build /
59
+ resources /server /api /ogc /static /landingpage
60
+ resources /server /src /landingpage /landingpage.stamp
61
+ resources /server /src /landingpage /node_modules
59
62
resources /themes /* /style.qss.auto
60
63
scripts /astyle.exe
61
64
scripts /Debug
Original file line number Diff line number Diff line change @@ -32,6 +32,24 @@ endif()
32
32
if (WITH_SERVER )
33
33
file (GLOB_RECURSE SERVER_RESOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} server/* )
34
34
set (RESOURCES_FILES ${RESOURCES_FILES} ${SERVER_RESOURCE_FILES} )
35
+
36
+ # Landingpage
37
+ file (GLOB_RECURSE LANDINGPAGE_SOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} server/src/landingpage/* )
38
+ list (REMOVE_ITEM $ (LANDINGPAGE_SOURCE_FILES ) "*landingpage.stamp" )
39
+
40
+ add_custom_target (yarn-target ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR} /server/src/landingpage/landingpage.stamp )
41
+
42
+ add_custom_command (
43
+ POST_BUILD
44
+ OUTPUT ${CMAKE_CURRENT_SOURCE_DIR} /server/src/landingpage/landingpage.stamp
45
+ DEPENDS ${LANDINGPAGE_SOURCE_FILES}
46
+ COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_SOURCE_DIR} /server/src/landingpage/landingpage.stamp
47
+ COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} /server/src/landingpage && yarn install --frozen-lockfile && yarn build
48
+ COMMAND ${CMAKE_COMMAND} -E copy_directory
49
+ ${CMAKE_CURRENT_SOURCE_DIR} /server/api/ogc/static/landingpage/
50
+ ${CMAKE_CURRENT_BINARY_DIR} /../output/data/resources/server/api/ogc/static/landingpage/
51
+ )
52
+
35
53
endif ()
36
54
37
55
# Apple specific handling
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ yarn serve
17
17
yarn build
18
18
```
19
19
20
- Built files needs to be moved from ` dist ` to ` resources/server/api/ogc/static/landingpage ` .
20
+ Built files location: ` resources/server/api/ogc/static/landingpage `
21
21
22
22
### Lints and fixes files
23
23
```
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
publicPath : './' ,
3
+ outputDir : '../../api/ogc/static/landingpage/' ,
3
4
assetsDir : './' ,
4
5
configureWebpack : {
5
6
devtool : "source-map" ,
You can’t perform that action at this time.
0 commit comments