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