Automatically create and remove lib
This commit is contained in:
parent
bf4ef96a06
commit
3fb276f401
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
mkdir -p lib
|
||||||
|
|
||||||
./node_modules/.bin/tsc -p tsconfig.json --extendedDiagnostics
|
./node_modules/.bin/tsc -p tsconfig.json --extendedDiagnostics
|
||||||
|
|
||||||
#electron-build fails when local modules are in parent directory
|
#electron-build fails when local modules are in parent directory
|
||||||
|
@ -7,6 +9,8 @@
|
||||||
cp -r ./lib/* ./app/lib/
|
cp -r ./lib/* ./app/lib/
|
||||||
cp -r ./lib/* ./cli/lib/
|
cp -r ./lib/* ./cli/lib/
|
||||||
|
|
||||||
|
rm -r ./lib
|
||||||
|
|
||||||
cp ./data/cfg.json ./app/data/
|
cp ./data/cfg.json ./app/data/
|
||||||
cp ./data/cfg.json ./cli/data/
|
cp ./data/cfg.json ./cli/data/
|
||||||
cp ./data/cfg.json ./processing/mcopy/
|
cp ./data/cfg.json ./processing/mcopy/
|
Loading…
Reference in New Issue