Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Reset to checked-in build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgodbe committed May 7, 2019
1 parent d27870f commit b040157
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions eng/common/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ usage()
echo " --nodeReuse <value> Sets nodereuse msbuild parameter ('true' or 'false')"
echo " --warnAsError <value> Sets warnaserror msbuild parameter ('true' or 'false')"
echo ""
echo "Command line arguments not listed above are passed thru to msbuild."
echo "Command line arguments starting with '/p:' are passed through to MSBuild."
echo "Arguments can also be passed in with a single hyphen."
}

Expand Down Expand Up @@ -137,9 +137,23 @@ while [[ $# > 0 ]]; do
node_reuse=$2
shift
;;
*)
-p:*|/p:*)
properties="$properties $1"
;;
-m:*|/m:*)
properties="$properties $1"
;;
-bl:*|/bl:*)
properties="$properties $1"
;;
-dl:*|/dl:*)
properties="$properties $1"
;;
*)
echo "Invalid argument: $1"
usage
exit 1
;;
esac

shift
Expand Down Expand Up @@ -204,4 +218,4 @@ if [[ -n "${useInstalledDotNetCli:-}" ]]; then
use_installed_dotnet_cli="$useInstalledDotNetCli"
fi

Build
Build

0 comments on commit b040157

Please sign in to comment.