Mercurial > hg > sonic-annotator
comparison deploy/win/build-both.bat @ 346:90169412b1a7
Merge from branch by-id
author | Chris Cannam |
---|---|
date | Thu, 18 Jul 2019 14:58:51 +0100 |
parents | c7f2b178d220 |
children | a2c5ca6b8785 |
comparison
equal
deleted
inserted
replaced
333:70d19452631e | 346:90169412b1a7 |
---|---|
1 rem Run this from within the top-level dir: deploy\win\build-and-package.bat | |
2 | |
3 set STARTPWD=%CD% | |
4 | |
5 if not exist "C:\Program Files (x86)\SMLNJ\bin" ( | |
6 @ echo Could not find SML/NJ, required for Repoint | |
7 @ exit /b 2 | |
8 ) | |
9 | |
10 set ORIGINALPATH=%PATH% | |
11 set PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;%PATH% | |
12 | |
13 @echo "" | |
14 @echo Rebuilding 32-bit | |
15 | |
16 cd %STARTPWD% | |
17 del /q /s build_win32 | |
18 call .\deploy\win\build-32.bat | |
19 if %errorlevel% neq 0 exit /b %errorlevel% | |
20 | |
21 @echo Rebuilding 64-bit | |
22 | |
23 cd %STARTPWD% | |
24 del /q /s build_win64 | |
25 call .\deploy\win\build-64.bat | |
26 if %errorlevel% neq 0 exit /b %errorlevel% | |
27 | |
28 set PATH=%ORIGINALPATH% | |
29 | |
30 @echo Done | |
31 |