19 lines
307 B
Plaintext
19 lines
307 B
Plaintext
---
|
|
source: hooked-config/tests/serialize.rs
|
|
expression: to_string_pretty(&config).unwrap()
|
|
---
|
|
[general]
|
|
config = 'Hooked.toml'
|
|
directory = 'hooks'
|
|
|
|
[[pre_commit]]
|
|
name = 'Command Test'
|
|
on_failure = 'continue'
|
|
command = 'exit 0'
|
|
|
|
[[pre_commit]]
|
|
name = 'Script Test'
|
|
on_failure = 'stop'
|
|
script = 'test.sh'
|
|
|