From 53597bb519ea31cd33c3cafa71a1897519ec1aee Mon Sep 17 00:00:00 2001 From: Dmnk Freemountainer Date: Mon, 5 Dec 2016 20:12:23 +0100 Subject: [PATCH] windows: use bundled quark.js --- quark.pro | 2 +- tools/deploy_win.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/quark.pro b/quark.pro index 04c8846..0132a9c 100644 --- a/quark.pro +++ b/quark.pro @@ -48,7 +48,7 @@ win32 { CONFIG(debug, debug|release): OUT_PWD_WIN = $$OUT_PWD/debug copy_node.commands = $(COPY_FILE) $$shell_path($$NODE_CMD) $$OUT_PWD_WIN - copy_node_path.commands = $(COPY_DIR) $$shell_path($$PWD/tmp/node_path) $$shell_path($$OUT_PWD_WIN/node_path) + copy_node_path.commands = $(MKDIR) $$shell_path($$OUT_PWD_WIN/node_path) && $(COPY_FILE) $$shell_path($$PWD/tmp/bundles/quark.js) $$shell_path($$OUT_PWD_WIN/node_path/quark.js) copy_app.commands = $(COPY_DIR) $$shell_path($$PWD/example/default) $$shell_path($$OUT_PWD_WIN/default) } diff --git a/tools/deploy_win.sh b/tools/deploy_win.sh index 4e3bbea..7fa6c02 100644 --- a/tools/deploy_win.sh +++ b/tools/deploy_win.sh @@ -21,9 +21,6 @@ PRUNE_CMD="$NODE_CMD $NPM_CMD prune --production" pushd . > /dev/null -cd "$TARGET_PATH/node_path" -$PRUNE_CMD - cd "$TARGET_PATH/default" $PRUNE_CMD