summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorBrian Robbins <brianrob@microsoft.com>2018-05-22 19:13:20 -0700
committerGitHub <noreply@github.com>2018-05-22 19:13:20 -0700
commit7d930115ebd1a170af6b41caab3bb3906c476685 (patch)
treebafc9c140466b91ee6cf097709bd24d12bb9d350 /build.cmd
parentd629c9967bd401c21123873c7d5175e721d40feb (diff)
downloadcoreclr-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.cmd12
1 files changed, 11 insertions, 1 deletions
diff --git a/build.cmd b/build.cmd
index c7bac26703..bdeebc5875 100644
--- a/build.cmd
+++ b/build.cmd
@@ -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.