1 @if "%_echo%" neq "on" echo off
2 setlocal EnableDelayedExpansion
4 set "__ProjectDir=%~dp0"
7 if /I [%1] == [/?] goto Usage
8 if /I [%1] == [/help] goto Usage
10 call %__ProjectDir%/run.cmd build-packages -Project=%__ProjectDir%/src/.nuget/Microsoft.NETCore.Runtime.CoreClr/Microsoft.NETCore.Runtime.CoreCLR.builds -FilterToOSGroup=Windows_NT %allargs%
11 if NOT [!ERRORLEVEL!]==[0] (
12 echo ERROR: An error occurred while building CoreCLR Runtime package, see build-packages.log for more details.
16 call %__ProjectDir%/run.cmd build-packages -Project=%__ProjectDir%/src/.nuget/Microsoft.NETCore.Jit/Microsoft.NETCore.Jit.builds -FilterToOSGroup=Windows_NT %allargs%
17 if NOT [!ERRORLEVEL!]==[0] (
18 echo ERROR: An error occurred while building Jit package, see build-packages.log for more details.
22 call %__ProjectDir%/run.cmd build-packages -Project=%__ProjectDir%/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.builds -FilterToOSGroup=Windows_NT %allargs%
23 if NOT [!ERRORLEVEL!]==[0] (
24 echo ERROR: An error occurred while building ILAsm package, see build-packages.log for more details.
28 call %__ProjectDir%/run.cmd build-packages -Project=%__ProjectDir%/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.builds -FilterToOSGroup=Windows_NT %allargs%
29 if NOT [!ERRORLEVEL!]==[0] (
30 echo ERROR: An error occurred while building ILDAsm package, see build-packages.log for more details.
34 call %__ProjectDir%/run.cmd build-packages -Project=%__ProjectDir%/src/.nuget/Microsoft.TargetingPack.Private.CoreCLR/Microsoft.TargetingPack.Private.CoreCLR.pkgproj -FilterToOSGroup=Windows_NT %allargs%
35 if NOT [!ERRORLEVEL!]==[0] (
36 echo ERROR: An error occurred while building CoreCLR TargetingPack package, see build-packages.log for more details.
40 call %__ProjectDir%/run.cmd build-packages -Project=%__ProjectDir%\src\.nuget\Microsoft.NETCore.TestHost\Microsoft.NETCore.TestHost.builds -FilterToOSGroup=Windows_NT %allargs%
41 if NOT [!ERRORLEVEL!]==[0] (
42 echo ERROR: An error occurred while building packages, see %packagesLog% for more details.
46 echo Done Building Packages.
51 echo Builds the NuGet packages from the binaries that were built in the Build product binaries step.
52 echo The following properties are required to define build architecture
53 echo -BuildArch=[architecture] -BuildType=[configuration]
54 echo Architecture can be x64, x86, arm, or arm64
55 echo Configuration can be Release, Debug, or Checked