control-freak-ide/server/nodejs/testExportLocal.sh
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

14 lines
680 B
Bash

#!/usr/bin/env bash
#./server noob --file="./export.js" --user="../../../../user/" --system="../../../../data" --root="../../../../" --target="../../../../myapp2"
rm -rf ../../myapp2/
node ./nxappmain/export.js --windows=false --linux32=false --osx=false --arm=false --user="../../user/" --system="../../data" --root="../../" --target="../../myapp2" --dist="./dist/" --client="../../dist/windows/Code/client" "$@"
cp build/server/nxappmain/serverbuild.js.uncompressed.js ../../myapp2/server/linux_64/nxappmain/serverbuild.js
cp ../../Code/client/src/lib/xapp/build/main_build.js ../../myapp2/www/Code/client/src/lib/xapp/build/main_build.js
cd ../../myapp2
sh start_linux.sh