fix build scripts
This commit is contained in:
@@ -19,15 +19,14 @@ echo "Building"
|
|||||||
rm -rf bin/zcash-qt-wallet* > /dev/null
|
rm -rf bin/zcash-qt-wallet* > /dev/null
|
||||||
make -j$(nproc) > /dev/null
|
make -j$(nproc) > /dev/null
|
||||||
|
|
||||||
|
# Test for Qt
|
||||||
|
echo "Testing for no Qt"
|
||||||
|
|
||||||
# Test for QT
|
if [[ $(ldd zcash-qt-wallet | grep -i "Qt") ]]; then
|
||||||
echo "Testing for no QT"
|
|
||||||
|
|
||||||
if [[ $(ldd zcash-qt-wallet | grep -i "QT") ]]; then
|
|
||||||
echo "FOUND QT; ABORT";
|
echo "FOUND QT; ABORT";
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "No QT found"
|
echo "No Qt found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Packaging"
|
echo "Packaging"
|
||||||
|
|||||||
@@ -18,7 +18,12 @@ nmake *>$null
|
|||||||
New-Item release/$target -itemtype directory | Out-Null
|
New-Item release/$target -itemtype directory | Out-Null
|
||||||
Move-Item release/zcash-qt-wallet.exe release/$target | 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
|
& "$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"
|
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