16 lines
348 B
Bash
16 lines
348 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
mkdir -p lib
|
||
|
|
||
|
./node_modules/.bin/tsc -p tsconfig.json --extendedDiagnostics
|
||
|
|
||
|
#electron-build fails when local modules are in parent directory
|
||
|
#copy them into lib directory
|
||
|
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/
|