Browse Source

powershell tweaks

import_zecw
bdr 6 years ago
parent
commit
aa7505bba4
  1. 5
      src/scripts/mkwinrelease.ps1

5
src/scripts/mkwinrelease.ps1

@ -1,5 +1,5 @@
if (-not (Test-Path env:QT_STATIC)) { echo "QT_STATIC is not set"; exit; }
if (-not (Test-Path env:APP_VERSION)) { echo "APP_VERSION is not set"; exit; }
if (-not (Test-Path env:QT_STATIC)) { echo "QT_STATIC is not set. Please set it to the directory with the static build of QT"; exit; }
if (-not (Test-Path env:APP_VERSION)) { echo "APP_VERSION is not set. Please set it to the version you want to build, like 0.1.6"; exit; }
$target="zcash-qt-wallet-v$Env:APP_VERSION"
@ -14,7 +14,6 @@ echo "Configuring"
echo "Building"
nmake *>$null
# Make a dist directory in release
New-Item release/$target -itemtype directory | Out-Null
Move-Item release/zcash-qt-wallet.exe release/$target | Out-Null

Loading…
Cancel
Save