From 24450517fa11dbe5f5e19cc9b67074b713f40444 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 14 Jan 2016 10:25:26 -0800 Subject: [PATCH] add npm install command to packaged-console target --- console/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/console/CMakeLists.txt b/console/CMakeLists.txt index 055457cff8..1b021e4f47 100644 --- a/console/CMakeLists.txt +++ b/console/CMakeLists.txt @@ -6,6 +6,7 @@ endif() # add a target that will package the console add_custom_target(${TARGET_NAME} ALL + COMMAND npm install COMMAND npm run packager -- --out ${CMAKE_CURRENT_BINARY_DIR} ${PRODUCTION_OPTION} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )