diff options
| author | Mica White <botahamec@outlook.com> | 2026-09-28 06:04:45 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-09-28 06:04:45 -0400 |
| commit | 231833f629d11964ba09372026625ee35b9769db (patch) | |
| tree | a1ca905fb9c9b3b4a8f04ba6ad061b01d5afeb4c /build.py3 | |
| parent | 6d7bc550fba4c188d262cade1cbf91bd1d0ab809 (diff) | |
Better aesthetic
Diffstat (limited to 'build.py3')
| -rwxr-xr-x | build.py3 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,7 @@ import gzip import os import shutil +import sys import brotli @@ -21,7 +22,10 @@ def compile_all(path: str, target: str): os.mkdir(os.path.join(target, file)) compile_all(src, os.path.join(target, file)) elif ext == '.kuht': - os.system(f"kuht {src} src/base.kuht -o {target}/{base}.html") + print(f"Building {src}") + exit_code = os.system(f"kuht {src} src/base.kuht -o {target}/{base}.html") + if exit_code != 0: + sys.exit(exit_code) def move_css(path: str): |
