From b1ca63c7de2fa0f144214e438125bb9c7a30ed9c Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Fri, 8 Jul 2016 16:10:08 -0700 Subject: [PATCH] Because we are using a CI that is still built for our old custom build, we are passing arguments there that we no longer need and that MSBuild does not understand. We can't pass them along to MSBuild, so we need to filter them out. This is what we are doing here. --- run-build.ps1 | 2 ++ run-build.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/run-build.ps1 b/run-build.ps1 index 74f48ccbd..0ff6efd1b 100644 --- a/run-build.ps1 +++ b/run-build.ps1 @@ -6,6 +6,8 @@ param( [string]$Configuration="Debug", [string]$Architecture="x64", + # This is here just to eat away this parameter because CI still passes this in. + [string]$Targets="Default" [switch]$NoPackage, [switch]$Help, [Parameter(Position=0, ValueFromRemainingArguments=$true)] diff --git a/run-build.sh b/run-build.sh index d92099b94..35494371e 100755 --- a/run-build.sh +++ b/run-build.sh @@ -43,6 +43,10 @@ while [[ $# > 0 ]]; do ARCHITECTURE=$2 shift ;; + --targets) + # This is here just to eat away this parameter because CI still passes this in. + shift + ;; --help) echo "Usage: $0 [--configuration ] [--targets ] [--skip-prereqs] [--nopackage] [--docker ] [--help]" echo ""