Commit Graph

2 Commits

Author SHA1 Message Date
gsb
1b4b4b51a5 Add build hook system
Hook scripts in .slam/hooks/ are executed at each stage of the build
pipeline. If a script exists and is executable, it runs; a non-zero
exit stops the build.

Available hooks:
  pre_format / post_format
  pre_install / post_install
  pre_test / post_test
  pre_build / post_build

The init command now creates .slam/hooks/ with a README documenting
usage and examples, and includes a default pre_format hook that
initializes any git submodules that are present.
2026-04-29 00:08:07 +00:00
evilchili
76e0b16aef initial import 2024-03-25 22:24:31 -07:00