mcopy/scripts/build.sh

11 lines
260 B
Bash
Raw Normal View History

#!/bin/sh
./node_modules/.bin/tsc -p tsconfig.json
#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/
cp -r ./lib/* ./cli/lib/
cp ./data/cfg.json ./app/data/
cp ./data/cfg.json ./cli/data/