Move to buildtools' VersionTools for update-dependencies.
This commit is contained in:
parent
69eed12132
commit
a27d02eb66
8 changed files with 96 additions and 544 deletions
|
@ -4,15 +4,13 @@
|
|||
#
|
||||
|
||||
param(
|
||||
[string[]]$Targets=@("Default"),
|
||||
[switch]$Help)
|
||||
|
||||
if($Help)
|
||||
{
|
||||
Write-Host "Usage: .\update-dependencies.ps1 [-Targets <TARGETS...>]"
|
||||
Write-Host "Usage: .\update-dependencies.ps1"
|
||||
Write-Host ""
|
||||
Write-Host "Options:"
|
||||
Write-Host " -Targets <TARGETS...> Comma separated build targets to run (UpdateFiles, PushPR; Default is everything)"
|
||||
Write-Host " -Help Display this help message"
|
||||
exit 0
|
||||
}
|
||||
|
@ -51,5 +49,5 @@ if($LASTEXITCODE -ne 0) { throw "Failed to compile build scripts" }
|
|||
# Run the app
|
||||
Write-Host "Invoking App $AppPath..."
|
||||
Write-Host " Configuration: $env:CONFIGURATION"
|
||||
& "$AppPath\bin\update-dependencies.exe" @Targets
|
||||
& "$AppPath\bin\update-dependencies.exe"
|
||||
if($LASTEXITCODE -ne 0) { throw "Build failed" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue