refactor ConfigLoader to CfgDeploy

This commit is contained in:
Nathan
2026-02-23 09:47:26 -07:00
parent fcdb7661fe
commit 2672b7bb84
11 changed files with 398 additions and 29 deletions
+4 -4
View File
@@ -11,11 +11,11 @@ if (-not $PSScriptRoot) {
$PSScriptRoot = Split-Path -Parent $MyInvocation.MyCommand.Path
}
$configLoader = Join-Path -Path $PSScriptRoot -ChildPath 'ConfigLoader.ps1'
if (-not (Test-Path -LiteralPath $configLoader)) {
throw "Missing ConfigLoader.ps1 in $PSScriptRoot"
$cfgDeploy = Join-Path -Path $PSScriptRoot -ChildPath 'CfgDeploy.ps1'
if (-not (Test-Path -LiteralPath $cfgDeploy)) {
throw "Missing CfgDeploy.ps1 in $PSScriptRoot"
}
. $configLoader
. $cfgDeploy
$structDir = Get-StructDirectory
if (-not (Test-Path -LiteralPath $structDir -PathType Container)) {