summaryrefslogtreecommitdiff
path: root/build-packages.sh
diff options
context:
space:
mode:
authorwtgodbe <wigodbe@microsoft.com>2016-07-13 17:21:50 (GMT)
committerwtgodbe <wigodbe@microsoft.com>2016-07-13 17:21:50 (GMT)
commitc89c893bf1162457deaf5d80971799d770fa92ce (patch)
tree9780fda772302854f7433402c5270dd878bdd126 /build-packages.sh
parent361edab2925026970715546bdc7ccca0b6c058cd (diff)
downloadcoreclr-c89c893bf1162457deaf5d80971799d770fa92ce.zip
coreclr-c89c893bf1162457deaf5d80971799d770fa92ce.tar.gz
coreclr-c89c893bf1162457deaf5d80971799d770fa92ce.tar.bz2
build the TargetingPack package as part of build-packages scripts
Diffstat (limited to 'build-packages.sh')
-rwxr-xr-xbuild-packages.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build-packages.sh b/build-packages.sh
index 0403c3f..baa6516 100755
--- a/build-packages.sh
+++ b/build-packages.sh
@@ -156,6 +156,15 @@ if [ $? -ne 0 ]; then
exit 1
fi
+ # Build the TargetingPack package
+ $__ProjectRoot/Tools/corerun "$__MSBuildPath" /nologo "$__ProjectRoot/src\.nuget\Microsoft.TargetingPack.Private.CoreCLR\Microsoft.TargetingPack.Private.CoreCLR.pkgproj" /verbosity:minimal "/fileloggerparameters:Verbosity=normal;LogFile=$binclashlog" /t:Build /p:__BuildOS=$__BuildOS /p:__BuildArch=$__BuildArch /p:__BuildType=$__BuildType /p:__IntermediatesDir=$__IntermediatesDir /p:BuildNugetPackage=false /p:UseSharedCompilation=false
+
+if [ $? -ne 0 ]; then
+ echo -e "\nAn error occurred. Aborting build-packages.sh ." >> $build_packages_log
+ echo "ERROR: An error occurred while building packages, see $build_packages_log for more details."
+ exit 1
+fi
+
echo "Done building packages."
echo -e "\nDone building packages." >> $build_packages_log
exit 0