|
@ -5,7 +5,6 @@ if [ -z $QT_STATIC ]; then |
|
|
exit 1; |
|
|
exit 1; |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ -z $MXE_PATH ]; then echo "MXE_PATH is not set. Set it to ~/github/mxe/usr/bin"; exit 1; fi |
|
|
|
|
|
if [ -z $APP_VERSION ]; then echo "APP_VERSION is not set"; exit 1; fi |
|
|
if [ -z $APP_VERSION ]; then echo "APP_VERSION is not set"; exit 1; fi |
|
|
if [ -z $PREV_VERSION ]; then echo "PREV_VERSION is not set"; exit 1; fi |
|
|
if [ -z $PREV_VERSION ]; then echo "PREV_VERSION is not set"; exit 1; fi |
|
|
|
|
|
|
|
@ -20,18 +19,6 @@ if [ ! -f ../zcash/artifacts/zcash-cli ]; then |
|
|
exit 1; |
|
|
exit 1; |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f ../zcash/artifacts/zcashd.exe ]; then |
|
|
|
|
|
echo "Couldn't find zcashd.exe in ../zcash/artifacts/. Please build zcashd.exe" |
|
|
|
|
|
exit 1; |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f ../zcash/artifacts/zcash-cli.exe ]; then |
|
|
|
|
|
echo "Couldn't find zcash-cli.exe in ../zcash/artifacts/. Please build zcashd.exe" |
|
|
|
|
|
exit 1; |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
echo -n "Version files....." |
|
|
echo -n "Version files....." |
|
|
# Replace the version number in the .pro file so it gets picked up everywhere |
|
|
# Replace the version number in the .pro file so it gets picked up everywhere |
|
|
sed -i "s/${PREV_VERSION}/${APP_VERSION}/g" zec-qt-wallet.pro > /dev/null |
|
|
sed -i "s/${PREV_VERSION}/${APP_VERSION}/g" zec-qt-wallet.pro > /dev/null |
|
@ -99,8 +86,28 @@ else |
|
|
exit 1 |
|
|
exit 1 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "" |
|
|
echo "" |
|
|
echo "[Windows]" |
|
|
echo "[Windows]" |
|
|
|
|
|
|
|
|
|
|
|
if [ -z $MXE_PATH ]; then |
|
|
|
|
|
echo "MXE_PATH is not set. Set it to ~/github/mxe/usr/bin if you want to build Windows" |
|
|
|
|
|
echo "Not building Windows" |
|
|
|
|
|
exit 1; |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f ../zcash/artifacts/zcashd.exe ]; then |
|
|
|
|
|
echo "Couldn't find zcashd.exe in ../zcash/artifacts/. Please build zcashd.exe" |
|
|
|
|
|
exit 1; |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f ../zcash/artifacts/zcash-cli.exe ]; then |
|
|
|
|
|
echo "Couldn't find zcash-cli.exe in ../zcash/artifacts/. Please build zcashd.exe" |
|
|
|
|
|
exit 1; |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
export PATH=$MXE_PATH:$PATH |
|
|
export PATH=$MXE_PATH:$PATH |
|
|
|
|
|
|
|
|
echo -n "Configuring......." |
|
|
echo -n "Configuring......." |
|
|