Remove -Localization switch from init.ps1
Localization is no longer a MicroBuild step.
This commit is contained in:
Родитель
9844f7ad53
Коммит
fdd031e218
9
init.ps1
9
init.ps1
|
@ -7,8 +7,6 @@
|
|||
Install the MicroBuild signing plugin for test-signed builds on desktop machines.
|
||||
#>
|
||||
Param(
|
||||
[Parameter()]
|
||||
[switch]$Localization,
|
||||
[Parameter()]
|
||||
[switch]$Signing
|
||||
)
|
||||
|
@ -25,13 +23,6 @@ try {
|
|||
& "$toolsPath\Restore-NuGetPackages.ps1" -Path "$PSScriptRoot\src"
|
||||
|
||||
$MicroBuildPackageSource = 'https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json'
|
||||
if ($Localization) {
|
||||
Write-Host "Installing MicroBuild localization plugin"
|
||||
& "$toolsPath\Install-NuGetPackage.ps1" MicroBuild.Plugins.Localization -source $MicroBuildPackageSource
|
||||
$env:LocType = "Pseudo"
|
||||
$env:LocLanguages = "VS"
|
||||
}
|
||||
|
||||
if ($Signing) {
|
||||
Write-Host "Installing MicroBuild signing plugin"
|
||||
& "$toolsPath\Install-NuGetPackage.ps1" MicroBuild.Plugins.Signing -source $MicroBuildPackageSource
|
||||
|
|
Загрузка…
Ссылка в новой задаче