refactor(createzip): changes to the way the app looks for better understanding
This commit is contained in:
@@ -71,7 +71,7 @@ $tempStageDir = New-Item -ItemType Directory -Path (Join-Path $env:TEMP "lst_sta
|
||||
|
||||
# Copy files to organized structure
|
||||
$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\frontend"; Destination = "app\frontend\" },
|
||||
@{ Source = "LstWrapper\publish"; Destination = "lstwrapper\" },
|
||||
@@ -85,6 +85,7 @@ $filesToCopy = @(
|
||||
# scripts to be copied over
|
||||
@{ Source = "scripts\tmp"; Destination = "tmp" }
|
||||
@{ Source = "scripts\iisControls.ps1"; Destination = "scripts\iisControls.ps1" }
|
||||
@{ Source = "scripts\services.ps1"; Destination = "scripts\services.ps1" }
|
||||
# docs
|
||||
# @{ 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 "Organized structure:"
|
||||
Write-Host "- backend/"
|
||||
Write-Host "- app/"
|
||||
Write-Host "- frontend/"
|
||||
Write-Host "- lstwrapper/"
|
||||
Write-Host "- scripts/"
|
||||
|
||||
Reference in New Issue
Block a user