Skip to content

Commit b7d3718

Browse files
committed
Update tools to include storage module build
1 parent 7f67271 commit b7d3718

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/UpdateModules.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ if ($Profile -eq "Stack") {
262262
}
263263

264264
$resourceManagerRootFolder = "$packageFolder\$buildConfig\ResourceManager\AzureResourceManager"
265+
$storageRootFolder = "$packageFolder\$buildConfig\Storage"
265266
$resourceManagerModules = Get-ChildItem -Path $resourceManagerRootFolder -Directory
266267
$templateLocation = "$PSScriptRoot\AzureRM.Example.psm1"
267268

@@ -342,6 +343,10 @@ if ($scope -eq 'AzureRM.Netcore') {
342343
Create-ModulePsm1 -ModulePath "$resourceManagerRootFolder\AzureRM.Profile.Netcore" -TemplatePath $templateLocation -IsRMModule $true
343344
Write-Host "Updated profile module"
344345

346+
Write-Host "Updating storage module"
347+
Create-ModulePsm1 -ModulePath "$storageRootFolder\Azure.Storage.Netcore" -TemplatePath $templateLocation -IsRMModule $false
348+
Write-Host "Updated profile module"
349+
345350
$env:PSModulePath += "$([IO.Path]::PathSeparator)$resourceManagerRootFolder\AzureRM.Profile.Netcore";
346351

347352
foreach ($module in $resourceManagerModules) {

0 commit comments

Comments
 (0)