Chris@342: rem Run this from within the top-level dir: deploy\win\build-and-package.bat Chris@342: Chris@342: set STARTPWD=%CD% Chris@342: Chris@342: if not exist "C:\Program Files (x86)\SMLNJ\bin" ( Chris@342: @ echo Could not find SML/NJ, required for Repoint Chris@342: @ exit /b 2 Chris@342: ) Chris@342: Chris@342: set ORIGINALPATH=%PATH% Chris@342: set PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;%PATH% Chris@342: Chris@342: @echo "" Chris@342: @echo Rebuilding 32-bit Chris@342: Chris@342: cd %STARTPWD% Chris@342: del /q /s build_win32 Chris@342: call .\deploy\win\build-32.bat Chris@342: if %errorlevel% neq 0 exit /b %errorlevel% Chris@342: Chris@342: @echo Rebuilding 64-bit Chris@342: Chris@342: cd %STARTPWD% Chris@342: del /q /s build_win64 Chris@342: call .\deploy\win\build-64.bat Chris@342: if %errorlevel% neq 0 exit /b %errorlevel% Chris@342: Chris@342: set PATH=%ORIGINALPATH% Chris@387: cd %STARTPWD% Chris@342: Chris@342: @echo Done Chris@342: