From 3fb276f4016b3f5c937239ee19d1cd4a937c91d6 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Wed, 18 Dec 2019 14:14:58 -0500 Subject: [PATCH] Automatically create and remove lib --- scripts/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index f037c2b..2f52709 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,7 @@ #!/bin/sh +mkdir -p lib + ./node_modules/.bin/tsc -p tsconfig.json --extendedDiagnostics #electron-build fails when local modules are in parent directory @@ -7,6 +9,8 @@ cp -r ./lib/* ./app/lib/ cp -r ./lib/* ./cli/lib/ +rm -r ./lib + cp ./data/cfg.json ./app/data/ cp ./data/cfg.json ./cli/data/ cp ./data/cfg.json ./processing/mcopy/ \ No newline at end of file