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.
|
Install the MicroBuild signing plugin for test-signed builds on desktop machines.
|
||||||
#>
|
#>
|
||||||
Param(
|
Param(
|
||||||
[Parameter()]
|
|
||||||
[switch]$Localization,
|
|
||||||
[Parameter()]
|
[Parameter()]
|
||||||
[switch]$Signing
|
[switch]$Signing
|
||||||
)
|
)
|
||||||
|
@ -25,13 +23,6 @@ try {
|
||||||
& "$toolsPath\Restore-NuGetPackages.ps1" -Path "$PSScriptRoot\src"
|
& "$toolsPath\Restore-NuGetPackages.ps1" -Path "$PSScriptRoot\src"
|
||||||
|
|
||||||
$MicroBuildPackageSource = 'https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json'
|
$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) {
|
if ($Signing) {
|
||||||
Write-Host "Installing MicroBuild signing plugin"
|
Write-Host "Installing MicroBuild signing plugin"
|
||||||
& "$toolsPath\Install-NuGetPackage.ps1" MicroBuild.Plugins.Signing -source $MicroBuildPackageSource
|
& "$toolsPath\Install-NuGetPackage.ps1" MicroBuild.Plugins.Signing -source $MicroBuildPackageSource
|
||||||
|
|
Загрузка…
Ссылка в новой задаче