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

17 lines
274 B
TOML
Raw Permalink Normal View History

2022-10-28 12:06:03 +00:00
[general]
directory = "hooked"
noise_level = "minimal"
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-27 16:29:44 +00:00
staged = ["*.txt"]
2022-10-28 12:06:03 +00:00
on_failure = "continue"
[[pre_commit]]
name = "Pre Commit 2"
noise_level = "loud"
2022-10-28 12:06:03 +00:00
script = "test.sh"
on_failure = "stop"