2016-08-02 08:59:26 +03:00
|
|
|
@echo off
|
2024-07-26 01:21:40 +03:00
|
|
|
|
|
|
|
echo %* | findstr /C:"-pack" >nul
|
|
|
|
if %errorlevel%==0 (
|
|
|
|
set PackInstaller=
|
|
|
|
) else (
|
2024-11-07 20:57:03 +03:00
|
|
|
REM disable crossgen for inner-loop builds to save a ton of time
|
2024-07-26 01:21:40 +03:00
|
|
|
set PackInstaller=/p:PackInstaller=false
|
2024-11-07 20:57:03 +03:00
|
|
|
set DISABLE_CROSSGEN=true
|
2024-07-26 01:21:40 +03:00
|
|
|
)
|
|
|
|
powershell -NoLogo -NoProfile -ExecutionPolicy ByPass -command "& """%~dp0eng\common\build.ps1""" -restore -build -nativeToolsOnMachine -msbuildEngine dotnet %PackInstaller% %*"
|
2017-11-02 20:40:59 +03:00
|
|
|
exit /b %ErrorLevel%
|