diff options
author | wtgodbe <wigodbe@microsoft.com> | 2016-05-17 16:27:35 -0700 |
---|---|---|
committer | wtgodbe <wigodbe@microsoft.com> | 2016-05-18 15:03:42 -0700 |
commit | a9117c44ad2a370df9b3d337dca9283877387f08 (patch) | |
tree | 564c9c9adcf2cdb0f70d7b874753a6430fe3154d /publish-packages.sh | |
parent | b7704374e683a8d3644a0640010936a22296967a (diff) | |
download | coreclr-a9117c44ad2a370df9b3d337dca9283877387f08.tar.gz coreclr-a9117c44ad2a370df9b3d337dca9283877387f08.tar.bz2 coreclr-a9117c44ad2a370df9b3d337dca9283877387f08.zip |
Update build scripts to fix small errors
Diffstat (limited to 'publish-packages.sh')
-rwxr-xr-x | publish-packages.sh | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/publish-packages.sh b/publish-packages.sh index 5c495e944c..a7e5cec43a 100755 --- a/publish-packages.sh +++ b/publish-packages.sh @@ -7,19 +7,15 @@ usage() echo " /p:CloudDropAccountName=\"account name\"" echo " /p:CloudDropAccessToken=\"access token\"" echo " /p:__BuildType=\"Configuration\"" + echo " /p:__BuildArch=\"Architecture\"" echo "Configuration can be Release, Checked, or Debug" + echo "Architecture can be x64, x86, arm, or arm64" exit 1 } working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" publish_log=$working_tree_root/publish.log -while [[ $# > 0 ]] -do - unprocessedBuildArgs="$unprocessedBuildArgs $1" - shift -done - # Use uname to determine what the OS is. OSName=$(uname -s) case $OSName in @@ -53,8 +49,6 @@ case $OSName in ;; esac -echo $unprocessedBuildArgs - options="/nologo /v:minimal /flp:v=detailed;Append;LogFile=$publish_log" echo "Running publish-packages.sh $*" > $publish_log @@ -62,9 +56,9 @@ echo "Running publish-packages.sh $*" > $publish_log echo "Running init-tools.sh" $working_tree_root/init-tools.sh -echo "Restoring all packages..." -echo -e "\n$working_tree_root/Tools/corerun $working_tree_root/Tools/MSBuild.exe $working_tree_root/src/publish.proj $options $unprocessedBuildArgs" /p:__BuildOS=$__BuildOS >> $publish_log -$working_tree_root/Tools/corerun $working_tree_root/Tools/MSBuild.exe $working_tree_root/src/publish.proj $options $unprocessedBuildArgs /p:__BuildOS=$__BuildOS +echo "Publishing packages..." +echo -e "\n$working_tree_root/Tools/corerun $working_tree_root/Tools/MSBuild.exe $working_tree_root/src/publish.proj $options $*" /p:__BuildOS=$__BuildOS >> $publish_log +$working_tree_root/Tools/corerun $working_tree_root/Tools/MSBuild.exe $working_tree_root/src/publish.proj $options $* /p:__BuildOS=$__BuildOS if [ $? -ne 0 ] then echo -e "\nPackage publishing failed. Aborting." >> $publish_log |