summaryrefslogtreecommitdiff
path: root/build-packages.cmd
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@microsoft.com>2016-05-23 15:33:23 -0700
committerKyungwoo Lee <kyulee@microsoft.com>2016-05-23 19:10:13 -0700
commit877352fc1e5498f31f552300f07010a7377b1e88 (patch)
treea81348ef2be41786735133e5777621ec46b653b3 /build-packages.cmd
parenta2d24aa4e65c8de05c1d760c4be7e7537378f3ed (diff)
downloadcoreclr-877352fc1e5498f31f552300f07010a7377b1e88.tar.gz
coreclr-877352fc1e5498f31f552300f07010a7377b1e88.tar.bz2
coreclr-877352fc1e5498f31f552300f07010a7377b1e88.zip
ILAsm/ILDAsm Package
Fixes #5172 This has dependency on CoreCLR. Use the same version 1.0.3 as CoreCLR. Tested both packages are produced in Windows/Linux locally.
Diffstat (limited to 'build-packages.cmd')
-rw-r--r--build-packages.cmd19
1 files changed, 18 insertions, 1 deletions
diff --git a/build-packages.cmd b/build-packages.cmd
index 0ae96fe911..5429581956 100644
--- a/build-packages.cmd
+++ b/build-packages.cmd
@@ -33,6 +33,23 @@ if NOT [!ERRORLEVEL!]==[0] (
exit /b 1
)
+rem Build the ILAsm package
+set __msbuildArgs="%__ProjectDir%\src\.nuget\Microsoft.NETCore.ILAsm\Microsoft.NETCore.ILAsm.builds" !allargs!
+echo msbuild.exe %__msbuildArgs% !options! >> %packagesLog%
+call msbuild.exe %__msbuildArgs% !options!
+if NOT [!ERRORLEVEL!]==[0] (
+ echo ERROR: An error occurred while building packages, see %packagesLog% for more details.
+ exit /b 1
+)
+
+rem Build the ILDAsm package
+set __msbuildArgs="%__ProjectDir%\src\.nuget\Microsoft.NETCore.ILDAsm\Microsoft.NETCore.ILDAsm.builds" !allargs!
+echo msbuild.exe %__msbuildArgs% !options! >> %packagesLog%
+call msbuild.exe %__msbuildArgs% !options!
+if NOT [!ERRORLEVEL!]==[0] (
+ echo ERROR: An error occurred while building packages, see %packagesLog% for more details.
+ exit /b 1
+)
echo Done Building Packages.
exit /b
@@ -44,4 +61,4 @@ echo The following properties are required to define build architecture
echo /p:__BuildArch=[architecture] /p:__BuildType=[configuration]
echo Architecture can be x64, x86, arm, or arm64
echo Configuration can be Release, Debug, or Checked
-exit /b \ No newline at end of file
+exit /b