diff --git a/buildscripts/easydex-build.sh b/buildscripts/easydex-build.sh new file mode 100755 index 0000000..05df38a --- /dev/null +++ b/buildscripts/easydex-build.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# Script to build gui for Agama App + +[ -d ${WORKSPACE}/gui/EasyDEX-GUI ] && cd ${WORKSPACE}/gui/EasyDEX-GUI +[ -d ../gui/EasyDEX-GUI ] && cd ../gui/EasyDEX-GUI +[ -d gui/EasyDEX-GUI ] && cd gui/EasyDEX-GUI + +echo "Building EasyDEX-GUI" +echo "Actual directory is: ${PWD}" + +echo "Checkout to redux branch." +git checkout redux +git pull origin redux + +echo "Installing nodejs modules." +npm install +npm install webpack + +echo "Building EasyDEX-GUI app." +npm run build +echo "EasyDEX-GUI is built!" \ No newline at end of file