Browse Source

Adding script to build EasyDEX-GUI

pkg_automation_electrum
michal maxian 8 years ago
parent
commit
6ecfd0b420
  1. 21
      buildscripts/easydex-build.sh

21
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!"
Loading…
Cancel
Save