Support --source-build / -sb switches as well in the VMR (#18492)

This commit is contained in:
Viktor Hofer 2024-02-01 17:44:39 +01:00 committed by GitHub
parent 7833b42f6a
commit c4da4e15c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ usage()
echo ""
echo "Source-only settings:"
echo " --source-only Source-build the solution (short: -so)"
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 <FILE> A JSON file, an alternative source of Source Link metadata"
@ -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"
;;