merodi
A markdown-based static site generator.
git clone https://git.pi66.xyz/merodi
About | Files | Commits | Refs | License
fix: exit after successful build validation
Author: pi66
Date: 2026-07-22 15:54
commit: 295ef1f1
Stat
| A | src/build.py | 1 | +1 | -0 |
Diff
diff --git a/src/build.py b/src/build.py
index a3b511e..adc35a0 100644
--- a/src/build.py
+++ b/src/build.py
@@ -191,6 +191,7 @@ def validate_build(config, plugins):
warn(e)
raise Exception(f"Validation failed with {len(errors)} error(s)")
info("Validation passed.")
+ exit(0)
def build_if_file(project_path, file):
if project_path: