Remove -Localization switch from init.ps1

Localization is no longer a MicroBuild step.
This commit is contained in:
Andrew Arnott 2016-07-15 11:54:16 -07:00
Родитель 9844f7ad53
Коммит fdd031e218
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -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