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

18 lines
296 B
TOML
Raw 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"
noise_level = "quiet"
2022-10-28 12:06:03 +00:00
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"