mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 18:27:55 +08:00

Separate Azure from WebPI Relocate WebPI and Source in /artifacts for cohesion --HG-- branch : dev
25 lines
605 B
Batchfile
25 lines
605 B
Batchfile
|
|
if "%WindowsSdkDir%" neq "" goto build
|
|
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" goto initialize2k8on64
|
|
if exist "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" goto initialize2k8
|
|
echo "Unable to detect suitable environment. Build may not succeed."
|
|
goto build
|
|
|
|
|
|
:initialize2k8
|
|
call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
|
goto build
|
|
|
|
:initialize2k8on64
|
|
call "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
|
goto build
|
|
|
|
|
|
:build
|
|
msbuild /t:Build AzurePackage.proj
|
|
pause
|
|
goto end
|
|
|
|
|
|
:end
|