Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions eng/dotnet-build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ param (
[switch][Alias('nobl')]$excludeCIBinarylog,
[switch][Alias('pb')]$productBuild,
[switch]$fromVMR,
[bool]$warnAsError = $true,
[bool]$nodeReuse = $true,
[Parameter(ValueFromRemainingArguments = $true)][string[]]$properties
)
Expand Down Expand Up @@ -44,4 +43,4 @@ catch {
ExitWithExitCode 1
}

ExitWithExitCode 0
ExitWithExitCode 0
12 changes: 1 addition & 11 deletions eng/dotnet-build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ source_build=false
product_build=false
from_vmr=false
ci=false
warn_as_error=true
node_reuse=true
binary_log=false

Expand Down Expand Up @@ -58,10 +57,6 @@ while [[ $# > 0 ]]; do
--from-vmr|--fromvmr)
from_vmr=true
;;
--warnaserror)
warn_as_error=$2
shift
;;
--nodereuse)
node_reuse=$2
shift
Expand Down Expand Up @@ -133,9 +128,4 @@ if [[ "$ci" == true ]]; then
node_reuse=false
fi

local warnaserror_switch=""
if [[ $warn_as_error == true ]]; then
warnaserror_switch="/warnaserror"
fi

"$DOTNET" msbuild /m /nologo /clp:Summary /v:$verbosity /nr:$node_reuse $warnaserror_switch /p:TreatWarningsAsErrors=$warn_as_error /p:ContinuousIntegrationBuild=$ci $bl ${dotnetArguments[@]+"${dotnetArguments[@]}"} ${args[@]+"${args[@]}"}
"$DOTNET" msbuild /m /nologo /clp:Summary /v:$verbosity /nr:$node_reuse /p:ContinuousIntegrationBuild=$ci $bl ${dotnetArguments[@]+"${dotnetArguments[@]}"} ${args[@]+"${args[@]}"}