hooked/hooked-cli/tests/samples/pre-commit.toml

15 lines
311 B
TOML
Raw Normal View History

2022-10-31 14:20:38 +00:00
[general]
directory = "tests/samples"
[[pre_commit]]
script = "simple-echo.bash"
[[pre_commit]]
name = "Exit 1 Continue"
command = "echo 'on_failure=continue' && exit 1"
on_failure = "continue"
[[pre_commit]]
name = "Exit 1 Stop"
command = "echo 'Hey from stdout!' && echo 'Hey from stderr!' 1>&2 && exit 1"