зеркало из https://github.com/dotnet/sdk.git
11 строки
344 B
Batchfile
11 строки
344 B
Batchfile
@echo off
|
|
|
|
echo %* | findstr /C:"-pack" >nul
|
|
if %errorlevel%==0 (
|
|
set PackInstaller=
|
|
) else (
|
|
set PackInstaller=/p:PackInstaller=false
|
|
)
|
|
powershell -NoLogo -NoProfile -ExecutionPolicy ByPass -command "& """%~dp0eng\common\build.ps1""" -restore -build -nativeToolsOnMachine -msbuildEngine dotnet %PackInstaller% %*"
|
|
exit /b %ErrorLevel%
|