diff options
author | Brian Robbins <brianrob@microsoft.com> | 2018-05-22 19:13:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 19:13:20 -0700 |
commit | 7d930115ebd1a170af6b41caab3bb3906c476685 (patch) | |
tree | bafc9c140466b91ee6cf097709bd24d12bb9d350 /build.cmd | |
parent | d629c9967bd401c21123873c7d5175e721d40feb (diff) | |
download | coreclr-7d930115ebd1a170af6b41caab3bb3906c476685.tar.gz coreclr-7d930115ebd1a170af6b41caab3bb3906c476685.tar.bz2 coreclr-7d930115ebd1a170af6b41caab3bb3906c476685.zip |
Remove -Rebuild option from build scripts (#18089)
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -135,6 +135,17 @@ if /i "%1" == "release" (set __BuildTypeRelease=1&set processedArgs= if /i "%1" == "-priority" (set __Priority=%2&shift&set processedArgs=!processedArgs! %1=%2&shift&goto Arg_Loop) +REM Explicitly block -Rebuild. +if /i "%1" == "Rebuild" ( + echo "ERROR: 'Rebuild' is not supported. Please remove it." + goto Usage +) +if /i "%1" == "-Rebuild" ( + echo "ERROR: 'Rebuild' is not supported. Please remove it." + goto Usage +) + + 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. if [!__PassThroughArgs!]==[] ( @@ -890,7 +901,6 @@ echo -skiprestore: skip restoring packages ^(default: packages are restored duri echo -disableoss: Disable Open Source Signing for System.Private.CoreLib. echo -priority=^<N^> : specify a set of test that will be built and run, with priority N. echo -officialbuildid=^<ID^>: specify the official build ID to be used by this build. -echo -Rebuild: passes /t:rebuild to the build projects. echo -crossgenaltjit ^<JIT dll^>: run crossgen using specified altjit ^(used for JIT testing^). echo portable : build for portable RID. echo. |