Misc/Import-Config.ps1
function Import-Config { $settings = @{ "tenant" = ""; "subscription" = ""; "keyVault" = ""; "publisher" = ""; "prefix" = ""; } if (Test-Path (Join-Path $PSScriptRoot "..\NavxBuildHelper-Config.psd1")) { $settings = Import-PowerShellDataFile -Path (Join-Path $PSScriptRoot "..\NavxBuildHelper-Config.psd1") } $settings } |