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.
37 lines
621 B
37 lines
621 B
8 years ago
|
#!/usr/bin/env bash
|
||
|
if [ -d "tmp" ]; then
|
||
|
cd tmp
|
||
|
else
|
||
|
mkdir tmp
|
||
|
cd tmp
|
||
|
fi
|
||
|
|
||
|
if [ -d "EasyDEX-GUI" ]; then
|
||
|
cd EasyDEX-GUI
|
||
|
git pull
|
||
|
cd ../
|
||
|
else
|
||
|
git clone https://github.com/SuperNETorg/EasyDEX-GUI.git
|
||
|
fi
|
||
|
|
||
|
if [ -d "Iguana-application" ]; then
|
||
|
cd Iguana-application
|
||
|
git checkout 0.3
|
||
|
git pull
|
||
|
else
|
||
|
git clone https://github.com/SuperNETorg/Iguana-application.git -b 0.3
|
||
|
cd Iguana-application
|
||
|
fi
|
||
|
|
||
|
bower install
|
||
|
npm install
|
||
|
gulp electron
|
||
|
|
||
|
cd ../../
|
||
|
|
||
|
rm "gui/EasyDEX-GUI" -rf
|
||
|
rm "gui/Iguana-GUI" -rf
|
||
|
|
||
|
cp -rf "tmp/Iguana-application/compiled/prod" "gui/Iguana-GUI"
|
||
|
cp -rf "tmp/EasyDEX-GUI" "gui/EasyDEX-GUI"
|