mirror of https://github.com/lukechilds/Agama.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
600 B
23 lines
600 B
#!/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 electrum
|
|
git pull origin electrum
|
|
|
|
[ -d react ] && cd react || echo "!!! I can't find react"
|
|
echo "Actual directory is: ${PWD}"
|
|
echo "Installing nodejs modules."
|
|
npm install
|
|
npm install webpack
|
|
|
|
echo "Building EasyDEX-GUI app."
|
|
npm run build
|
|
echo "EasyDEX-GUI is built!"
|
|
|