Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152# Update and Rebuild SpiderLily from Perforce# Run this to pull latest changes and create a new build
param( [string]$Version = (Get-Date -Format "yyyy.MM.dd-HHmm"))
$ErrorActionPreference = "Stop"
Write-Host "=========================================" -ForegroundColor CyanWrite-Host "Update & Rebuild SpiderLily" -ForegroundColor CyanWrite-Host "=========================================" -ForegroundColor CyanWrite-Host ""
$ProjectRoot = "C:\Perforce\SpiderLily\SL_main"
# Check for Perforceif (!(Get-Command p4 -ErrorAction SilentlyContinue)) { Write-Host "❌ ERROR: p4 command not found" -ForegroundColor Red Write-Host " Please install Perforce P4V or P4 CLI" exit 1}
# Sync latest from PerforceWrite-Host "📥 Syncing latest from Perforce..." -ForegroundColor YellowSet-Location $ProjectRoot
p4 sync ...if ($LASTEXITCODE -ne 0) { Write-Host "❌ Perforce sync failed!" -ForegroundColor Red exit 1}
Write-Host "✓ Perforce sync complete" -ForegroundColor GreenWrite-Host ""
# Show what changedWrite-Host "📋 Recent changes:" -ForegroundColor Cyanp4 changes -m 5 ...Write-Host ""
# Confirm rebuild$response = Read-Host "Start new build with version $Version? (Y/n)"if ($response -eq "n" -or $response -eq "N") { Write-Host "Build cancelled" -ForegroundColor Yellow exit 0}
# Run build scriptWrite-Host "".\build-false-work.ps1 -Version $Version