summaryrefslogtreecommitdiffstats
path: root/templates/html5
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-17 18:42:37 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:20 +0200
commit34350f087f3970b3fbcf21d151edcf5d8362d5f3 (patch)
treea1aaf9d36928558821391ece677af58615f763e3 /templates/html5
parent3f9a5fe6e952911110497968daeb276eb8d798ea (diff)
Fix: wrong path to test if html5 app is generated.
Change-Id: I36825a533db7816229c249b1af1e199231fd6fbc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'templates/html5')
-rw-r--r--templates/html5/app/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/html5/app/CMakeLists.txt b/templates/html5/app/CMakeLists.txt
index ae5f9aa..542fa73 100644
--- a/templates/html5/app/CMakeLists.txt
+++ b/templates/html5/app/CMakeLists.txt
@@ -25,8 +25,8 @@ PROJECT_TARGET_ADD(html5-app)
add_custom_command(OUTPUT dist.prod
DEPENDS ${TARGET_NAME}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
- COMMAND [ -d dist.prod ] && npm install
- COMMAND [ -d dist.prod ] && gulp widget-config-prod
+ COMMAND [ -d app/dist.prod ] && npm install
+ COMMAND [ -d app/dist.prod ] && gulp widget-config-prod
COMMAND cp -r dist.prod ${CMAKE_CURRENT_BINARY_DIR})
add_custom_target(${TARGET_NAME} ALL DEPENDS dist.prod)