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.
This commit is contained in:
parent
0a12e1e82b
commit
b1ca63c7de
2 changed files with 6 additions and 0 deletions
|
@ -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)]
|
||||
|
|
|
@ -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 <CONFIGURATION>] [--targets <TARGETS...>] [--skip-prereqs] [--nopackage] [--docker <IMAGENAME>] [--help]"
|
||||
echo ""
|
||||
|
|
Loading…
Reference in a new issue