param( [string]$RepoRoot = "F:\Workin In Progress\DESINEURON\GITLAB\Project_Velocity", [string]$OutputDir = "F:\Workin In Progress\DESINEURON\GITLAB\Project_Velocity\local-dev-bundles" ) $ErrorActionPreference = "Stop" $localRoot = Join-Path $RepoRoot ".local-dev" if (-not (Test-Path $localRoot)) { throw "Missing .local-dev folder. Import a local bundle first." } New-Item -ItemType Directory -Force -Path $OutputDir | Out-Null $stamp = Get-Date -Format "yyyyMMdd-HHmmss" $zipPath = Join-Path $OutputDir "project-velocity-local-dev-$stamp.zip" if (Test-Path $zipPath) { Remove-Item $zipPath -Force } Compress-Archive -Path (Join-Path $localRoot "*") -DestinationPath $zipPath -Force Write-Host "Created local dev zip: $zipPath" Write-Host "This zip is gitignored and can be handed to Sayan and Sourik for local verification."