diff options
author | Gaurav Khanna <gkhanna@microsoft.com> | 2017-03-22 21:35:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-22 21:35:24 -0700 |
commit | 14792ccacd1209380ba642431fe22f703b9f4060 (patch) | |
tree | 3e146bc4f1a242d7dc17691d8cd2f6a3d3790620 | |
parent | 741ce0d615bdae442cb3ee184a5a36b30d1a152a (diff) | |
download | coreclr-14792ccacd1209380ba642431fe22f703b9f4060.tar.gz coreclr-14792ccacd1209380ba642431fe22f703b9f4060.tar.bz2 coreclr-14792ccacd1209380ba642431fe22f703b9f4060.zip |
Unify command line arg for portable RID build (#10408)
-rw-r--r-- | build.cmd | 2 | ||||
-rwxr-xr-x | build.sh | 2 | ||||
-rw-r--r-- | config.json | 6 |
3 files changed, 8 insertions, 2 deletions
@@ -118,7 +118,7 @@ if /i "%1" == "debug" (set __BuildTypeDebug=1&set processedArgs=!p if /i "%1" == "checked" (set __BuildTypeChecked=1&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) if /i "%1" == "release" (set __BuildTypeRelease=1&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) -if /i "%1" == "portable" (set __IsPortableBuild=-portable&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) +if /i "%1" == "-portable" (set __IsPortableBuild=-portable&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) REM All arguments after this point will be passed through directly to build.cmd on nested invocations REM using the "all" argument, and must be added to the __PassThroughArgs variable. @@ -634,7 +634,7 @@ while :; do __CrossBuild=1 ;; - portable) + -portable) __PortableBuild=1 ;; diff --git a/config.json b/config.json index f0780ed111..9d98a2ee20 100644 --- a/config.json +++ b/config.json @@ -621,6 +621,12 @@ "__BuildArch": "default" } }, + "portable": { + "description": "Triggers a portable build.", + "settings": { + "PortableBuild": "1" + } + }, "buildType": { "description": "Specifies configuration to publish, can be Release, Debug or Checked.", "settings": { |