refactor(createzip): changes to the way the app looks for better understanding

This commit is contained in:
2025-07-21 17:14:21 -05:00
parent 392a9ef407
commit d2578b8850

View File

@@ -71,7 +71,7 @@ $tempStageDir = New-Item -ItemType Directory -Path (Join-Path $env:TEMP "lst_sta
# Copy files to organized structure # Copy files to organized structure
$filesToCopy = @( $filesToCopy = @(
@{ Source = "backend\lst_backend.exe"; Destination = "app\lst_backend.exe" }, @{ Source = "backend\lst_app.exe"; Destination = "app\lst_app.exe" },
@{ Source = "backend\docs"; Destination = "app\docs\" }, @{ Source = "backend\docs"; Destination = "app\docs\" },
@{ Source = "backend\frontend"; Destination = "app\frontend\" }, @{ Source = "backend\frontend"; Destination = "app\frontend\" },
@{ Source = "LstWrapper\publish"; Destination = "lstwrapper\" }, @{ Source = "LstWrapper\publish"; Destination = "lstwrapper\" },
@@ -85,6 +85,7 @@ $filesToCopy = @(
# scripts to be copied over # scripts to be copied over
@{ Source = "scripts\tmp"; Destination = "tmp" } @{ Source = "scripts\tmp"; Destination = "tmp" }
@{ Source = "scripts\iisControls.ps1"; Destination = "scripts\iisControls.ps1" } @{ Source = "scripts\iisControls.ps1"; Destination = "scripts\iisControls.ps1" }
@{ Source = "scripts\services.ps1"; Destination = "scripts\services.ps1" }
# docs # docs
# @{ Source = "lst-docs\build"; Destination = "lst-docs\build" } # @{ Source = "lst-docs\build"; Destination = "lst-docs\build" }
) )
@@ -103,7 +104,7 @@ Remove-Item $tempStageDir -Recurse -Force
Write-Host "`nRelease package created at: $($zipPath)" Write-Host "`nRelease package created at: $($zipPath)"
Write-Host "Organized structure:" Write-Host "Organized structure:"
Write-Host "- backend/" Write-Host "- app/"
Write-Host "- frontend/" Write-Host "- frontend/"
Write-Host "- lstwrapper/" Write-Host "- lstwrapper/"
Write-Host "- scripts/" Write-Host "- scripts/"