Browse Source

fix build scripts

import_zecw
bdr 6 years ago
parent
commit
c40785ce28
  1. 9
      src/scripts/mkrelease.sh
  2. 5
      src/scripts/mkwinrelease.ps1

9
src/scripts/mkrelease.sh

@ -19,15 +19,14 @@ echo "Building"
rm -rf bin/zcash-qt-wallet* > /dev/null
make -j$(nproc) > /dev/null
# Test for Qt
echo "Testing for no Qt"
# Test for QT
echo "Testing for no QT"
if [[ $(ldd zcash-qt-wallet | grep -i "QT") ]]; then
if [[ $(ldd zcash-qt-wallet | grep -i "Qt") ]]; then
echo "FOUND QT; ABORT";
exit 1
else
echo "No QT found"
echo "No Qt found"
fi
echo "Packaging"

5
src/scripts/mkwinrelease.ps1

@ -18,7 +18,12 @@ nmake *>$null
New-Item release/$target -itemtype directory | Out-Null
Move-Item release/zcash-qt-wallet.exe release/$target | Out-Null
echo "Copying"
& "$Env:QT_STATIC\bin\windeployqt.exe" release/$target/zcash-qt-wallet.exe *>$null
Copy-Item LICENSE release/$target | Out-Null
Copy-Item README.md release/$target | Out-Null
echo "Zipping"
Compress-Archive -LiteralPath release/$target -DestinationPath "release/$target.zip"
echo "Done"
Loading…
Cancel
Save