hooked/hooked-config/tests/parsing/with-hooks.toml

15 lines
233 B
TOML
Raw Normal View History

2022-10-28 12:06:03 +00:00
[general]
directory = "hooked"
2022-11-04 18:00:09 +00:00
template = "test.sh"
2022-10-28 12:06:03 +00:00
[[pre_commit]]
name = "Pre Commit 1"
command = "exit 0"
2022-11-20 11:20:59 +00:00
git_staged = ["*.txt"]
2022-10-28 12:06:03 +00:00
on_failure = "continue"
[[pre_commit]]
name = "Pre Commit 2"
script = "test.sh"
on_failure = "stop"