fix build scripts
This commit is contained in:
@@ -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"
|
||||
@@ -37,4 +36,4 @@ cp README.md bin/zcash-qt-wallet-v$APP_VERSION > /dev/null
|
||||
cp LICENSE bin/zcash-qt-wallet-v$APP_VERSION > /dev/null
|
||||
cd bin && tar cvf zcash-qt-wallet-v$APP_VERSION.tar.gz zcash-qt-wallet-v$APP_VERSION/ > /dev/null
|
||||
|
||||
echo "Done"
|
||||
echo "Done"
|
||||
@@ -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"
|
||||
Compress-Archive -LiteralPath release/$target -DestinationPath "release/$target.zip"
|
||||
|
||||
echo "Done"
|
||||
Reference in New Issue
Block a user