Go to file
Dustin 6d0bfeedaf Add post-change hooks feature
After rendering a template, `tmpl` will now run any commands specified
in the `hooks` property of a template instruction.  Hooks can either be
"immediate," meaning they will run as soon as the new file is written,
or "deferred," and will run after all templates have been rendered.
Deferred hooks are deduplicated: if multiple templates specify the
exact same command, it will only be run once.  Hook commands can include
the `%s` placeholder, which will be replaced by the path of the rendered
file.
2024-01-11 22:27:59 -06:00
src Add post-change hooks feature 2024-01-11 22:27:59 -06:00
.gitattributes Initial commit 2024-01-11 08:23:48 -06:00
.gitignore Initial commit 2024-01-11 08:23:48 -06:00
Cargo.lock Add post-change hooks feature 2024-01-11 22:27:59 -06:00
Cargo.toml Add post-change hooks feature 2024-01-11 22:27:59 -06:00
rustfmt.toml Initial commit 2024-01-11 08:23:48 -06:00