summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-demo
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-24 18:38:54 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-24 18:38:54 +0200
commit16bc76e344cc7c0b70cbed122252d8601cb737c2 (patch)
tree52ad6d6697b65e21c37f7f96c559b481b8208a14 /CAN-binder/low-can-demo
parent12f5819ae6d5d4c7eea35936be853d2604c6ea5c (diff)
Fix: file already exists on build demo app
Change-Id: I956caaa06c82e5786114d2fac53c7532226fe7ba Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-demo')
-rw-r--r--CAN-binder/low-can-demo/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CAN-binder/low-can-demo/CMakeLists.txt b/CAN-binder/low-can-demo/CMakeLists.txt
index a2caac99..918920c7 100644
--- a/CAN-binder/low-can-demo/CMakeLists.txt
+++ b/CAN-binder/low-can-demo/CMakeLists.txt
@@ -24,13 +24,13 @@ PROJECT_TARGET_ADD(low-can-demo)
add_custom_command(OUTPUT dist.prod
DEPENDS ${TARGET_NAME}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
- COMMAND touch dist.prod
COMMAND [ -d "dist.prod" ] || npm install
COMMAND [ -d "dist.prod" ] || gulp build-app-prod
+ COMMAND touch dist.prod
COMMAND cp -r dist.prod ${CMAKE_CURRENT_BINARY_DIR})
add_custom_target(${TARGET_NAME} ALL DEPENDS dist.prod)
-
+
# Binder exposes a unique public entry point
SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
LABELS "HTDOCS"