diff --git a/src/SourceBuild/content/build.sh b/src/SourceBuild/content/build.sh index e461d8f9a..02d4fa08a 100755 --- a/src/SourceBuild/content/build.sh +++ b/src/SourceBuild/content/build.sh @@ -10,34 +10,34 @@ set -e usage() { echo "Common settings:" - echo " --binaryLog Create MSBuild binary log (short: -bl)" - echo " --configuration Build configuration: 'Debug' or 'Release' (short: -c)" - echo " --verbosity Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] (short: -v)" + echo " --binaryLog Create MSBuild binary log (short: -bl)" + echo " --configuration Build configuration: 'Debug' or 'Release' (short: -c)" + echo " --verbosity Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] (short: -v)" echo "" echo "Actions:" - echo " --clean Clean the solution" - echo " --help Print help and exit (short: -h)" - echo " --test Run smoke tests (short: -t)" + echo " --clean Clean the solution" + echo " --help Print help and exit (short: -h)" + echo " --test Run smoke tests (short: -t)" echo "" echo "Source-only settings:" - echo " --source-only Source-build the solution (short: -so)" - echo " --online Build using online sources" - echo " --poison Build with poisoning checks" - echo " --release-manifest A JSON file, an alternative source of Source Link metadata" - echo " --source-repository Source Link repository URL, required when building from tarball" - echo " --source-version Source Link revision, required when building from tarball" - echo " --use-mono-runtime Output uses the mono runtime" - echo " --with-packages Use the specified directory of previously-built packages" - echo " --with-sdk Use the SDK in the specified directory for bootstrapping" + echo " --source-only, --source-build Source-build the solution (short: -so, -sb)" + echo " --online Build using online sources" + echo " --poison Build with poisoning checks" + echo " --release-manifest A JSON file, an alternative source of Source Link metadata" + echo " --source-repository Source Link repository URL, required when building from tarball" + echo " --source-version Source Link revision, required when building from tarball" + echo " --use-mono-runtime Output uses the mono runtime" + echo " --with-packages Use the specified directory of previously-built packages" + echo " --with-sdk Use the SDK in the specified directory for bootstrapping" echo "" echo "Advanced settings:" - echo " --ci Set when running on CI server" - echo " --clean-while-building Cleans each repo after building (reduces disk space usage, short: -cwb)" - echo " --excludeCIBinarylog Don't output binary log (short: -nobl)" - echo " --prepareMachine Prepare machine for CI run, clean up processes after build" + echo " --ci Set when running on CI server" + echo " --clean-while-building Cleans each repo after building (reduces disk space usage, short: -cwb)" + echo " --excludeCIBinarylog Don't output binary log (short: -nobl)" + echo " --prepareMachine Prepare machine for CI run, clean up processes after build" echo "" echo "Command line arguments not listed above are passed thru to msbuild." echo "Arguments can also be passed in with a single hyphen." @@ -117,7 +117,7 @@ while [[ $# > 0 ]]; do ;; # Source-only settings - -source-only|-so) + -source-only|-source-build|-so|-sb) sourceOnly=true properties="$properties /p:DotNetBuildSourceOnly=true" ;;