From 34350f087f3970b3fbcf21d151edcf5d8362d5f3 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 17 May 2017 18:42:37 +0200 Subject: Fix: wrong path to test if html5 app is generated. Change-Id: I36825a533db7816229c249b1af1e199231fd6fbc Signed-off-by: Romain Forlot --- templates/hybrid-html5/app/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/hybrid-html5/app') diff --git a/templates/hybrid-html5/app/CMakeLists.txt b/templates/hybrid-html5/app/CMakeLists.txt index f5ea7f7..eb70a1b 100644 --- a/templates/hybrid-html5/app/CMakeLists.txt +++ b/templates/hybrid-html5/app/CMakeLists.txt @@ -27,8 +27,8 @@ PROJECT_TARGET_ADD(hybrid-html5-example) 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) -- cgit 1.2.3-korg