We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8aa806 commit c0abdd0Copy full SHA for c0abdd0
2 files changed
eng/Build.ps1
@@ -22,6 +22,7 @@ param (
22
23
# Actions
24
[switch][Alias('r')]$restore,
25
+ [switch]$noRestore,
26
[switch][Alias('b')]$build,
27
[switch]$rebuild,
28
[switch]$sign,
@@ -104,6 +105,10 @@ function Process-Arguments() {
104
105
$script:testVs = $True
106
}
107
108
+ if ($noRestore) {
109
+ $script:restore = $False;
110
+ }
111
+
112
foreach ($property in $properties) {
113
if (!$property.StartsWith("/p:", "InvariantCultureIgnoreCase")) {
114
Write-Host "Invalid argument: $property"
eng/build.sh
@@ -91,6 +91,9 @@ while [[ $# > 0 ]]; do
91
--restore|-r)
92
restore=true
93
;;
94
+ --norestore)
95
+ restore=false
96
+ ;;
97
--build|-b)
98
build=true
99
0 commit comments