Mercurial > hg > vamp-plugin-pack
annotate deploy/clean-build-and-package.bat @ 129:afd72eb2b0aa tip
Added tag v1.0-windows-32bit for changeset 7d5387c63447
author | Chris Cannam |
---|---|
date | Fri, 12 Jun 2020 17:20:52 +0100 |
parents | 9209bf64c0c5 |
children |
rev | line source |
---|---|
Chris@63 | 1 @rem Run this from within the top-level dir: deploy\clean-build-and-package |
Chris@63 | 2 @echo on |
Chris@63 | 3 |
Chris@63 | 4 @set /p VERSION=<version.h |
Chris@63 | 5 @set VERSION=%VERSION:#define PACK_VERSION "=% |
Chris@63 | 6 set VERSION=%VERSION:"=% |
Chris@63 | 7 |
Chris@63 | 8 @echo( |
Chris@63 | 9 @set YN=y |
Chris@63 | 10 @set /p YN="Proceed to clean, rebuild, package, and sign version %VERSION% [Yn] ?" |
Chris@63 | 11 |
Chris@63 | 12 @if "%YN%" == "Y" set YN=y |
Chris@63 | 13 @if "%YN%" neq "y" exit /b 3 |
Chris@63 | 14 |
Chris@63 | 15 @echo Proceeding |
Chris@126 | 16 |
Chris@126 | 17 @echo Building 32-bit |
Chris@126 | 18 del /q /s out |
Chris@126 | 19 del /q /s build_win32 |
Chris@127 | 20 call .\deploy\win32\build-32.bat sign |
Chris@126 | 21 if %errorlevel% neq 0 exit /b %errorlevel% |
Chris@126 | 22 |
Chris@126 | 23 @echo Building 64-bit |
Chris@113 | 24 del /q /s out |
Chris@80 | 25 del /q /s build_win64 |
Chris@80 | 26 call .\deploy\win64\build-64.bat sign |
Chris@63 | 27 if %errorlevel% neq 0 exit /b %errorlevel% |
Chris@63 | 28 |
Chris@63 | 29 mkdir packages |
Chris@126 | 30 copy "build_win32\release\Vamp Plugin Pack Installer.exe" "packages\Vamp Plugin Pack Installer %VERSION% 32-bit.exe" |
Chris@80 | 31 copy "build_win64\release\Vamp Plugin Pack Installer.exe" "packages\Vamp Plugin Pack Installer %VERSION%.exe" |
Chris@63 | 32 |
Chris@63 | 33 @echo( |
Chris@63 | 34 @echo Done |