SHA256
CLI-Fixes: Help/Version vor Build, Content-Check, Default-Envs, Artefakte aus Git
- Program.cs: --help/--version werden vor Config-Laden und Directories.Init geprüft (verhindert Crashes außerhalb eines Site-Verzeichnisses) - Builder.cs: Pre-flight-Check ob content/ existiert; bei Fehlen klare Fehlermeldung + Exit 1 statt unhandled Exception. Build() gibt bool zurück, Program.cs setzt Environment.ExitCode. - BuildConfig.cs: Default-Environments von work/review/staging/deploy auf development/staging/deploy bereinigt (konsistent mit CLI-Aliasen) - .gitignore: build_log.txt/run_log.txt und webstatic.example/dist/ ignoriert; entsprechende Artefakte aus Git entfernt - tests/README.md: Platzhalter für künftige Test-Strategie - plans/01-offensichtliche-fixes.md: Fix-Plan dokumentiert
This commit is contained in:
@@ -20,6 +20,15 @@ artifacts/
|
||||
# Generated site output
|
||||
/dist/
|
||||
|
||||
# Build logs (written into the build root by every `webstatic build`)
|
||||
/build_log.txt
|
||||
/run_log.txt
|
||||
|
||||
# Example site output and logs (regenerated on build)
|
||||
webstatic.example/dist/
|
||||
webstatic.example/build_log.txt
|
||||
webstatic.example/run_log.txt
|
||||
|
||||
# Machine-translation drafts (never commit)
|
||||
.translation-drafts/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user