mcopy/scripts/compile.sh

17 lines
333 B
Bash
Raw Normal View History

#!/bin/sh
2019-12-18 19:14:58 +00:00
mkdir -p lib
./node_modules/.bin/tsc -p tsconfig.json --extendedDiagnostics
npm run docs
#electron-build fails when local modules are in parent directory
#copy them into lib directory
2019-03-18 20:49:11 +00:00
cp -r ./lib/* ./app/lib/
2019-12-18 19:14:58 +00:00
rm -r ./lib
cp ./data/cfg.json ./app/data/
cp ./data/cfg.json ./processing/mcopy/
mv ./app/lib/main.* ./app/