Automatically create and remove lib

This commit is contained in:
mmcwilliams 2019-12-18 14:14:58 -05:00
parent bf4ef96a06
commit 3fb276f401
1 changed files with 4 additions and 0 deletions

View File

@ -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/