annotate deploy/win/build-both.bat @ 389:bfd36a0105bc

Bump date
author Chris Cannam
date Mon, 08 Jun 2020 17:08:50 +0100
parents a2c5ca6b8785
children
rev   line source
Chris@342 1 rem Run this from within the top-level dir: deploy\win\build-and-package.bat
Chris@342 2
Chris@342 3 set STARTPWD=%CD%
Chris@342 4
Chris@342 5 if not exist "C:\Program Files (x86)\SMLNJ\bin" (
Chris@342 6 @ echo Could not find SML/NJ, required for Repoint
Chris@342 7 @ exit /b 2
Chris@342 8 )
Chris@342 9
Chris@342 10 set ORIGINALPATH=%PATH%
Chris@342 11 set PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;%PATH%
Chris@342 12
Chris@342 13 @echo ""
Chris@342 14 @echo Rebuilding 32-bit
Chris@342 15
Chris@342 16 cd %STARTPWD%
Chris@342 17 del /q /s build_win32
Chris@342 18 call .\deploy\win\build-32.bat
Chris@342 19 if %errorlevel% neq 0 exit /b %errorlevel%
Chris@342 20
Chris@342 21 @echo Rebuilding 64-bit
Chris@342 22
Chris@342 23 cd %STARTPWD%
Chris@342 24 del /q /s build_win64
Chris@342 25 call .\deploy\win\build-64.bat
Chris@342 26 if %errorlevel% neq 0 exit /b %errorlevel%
Chris@342 27
Chris@342 28 set PATH=%ORIGINALPATH%
Chris@387 29 cd %STARTPWD%
Chris@342 30
Chris@342 31 @echo Done
Chris@342 32