SDT/scripts/WORKFLOWS.md
2026-03-01 20:52:56 -06:00

1.4 KiB

Cross-Platform Script Workflows

1) Probe toolchain availability

python scripts/diag.py probe --tool dotnet --json
python scripts/diag.py probe --tool python --json
python scripts/diag.py probe --tool node --json
python scripts/diag.py probe --tool npm --json
python scripts/diag.py probe --tool cargo --json
python scripts/diag.py probe --tool tauri --json
python scripts/diag.py probe --tool git --json
python scripts/diag.py probe --tool docker --json

Shell bootstrap (cross-platform)

python scripts/dev_shell.py export --shell pwsh --json
python scripts/dev_shell.py doctor

2) Build and run SDT

python scripts/dotnet-min.py build
dotnet run --project DevTool.csproj

3) Run migration gate

python scripts/migration-gate.py

4) Manage NuGet cache

python scripts/nuget-export-cache.py --output-zip nuget-cache-export.zip
python scripts/nuget-import-cache.py --input-zip nuget-cache-export.zip

5) Clean Node modules

python scripts/npm-clean.py --working-dir .

6) Build app/gateway bundles

python scripts/publish-app.py --target web
python scripts/publish-sidecar.py --project path/to/sidecar.csproj
python scripts/publish-webgateway.py --project path/to/gateway.csproj --skip-web-assets
python scripts/publish-output.py --dry-run
python scripts/sync-output.py