Run hooks inside preferred shell
Hey everyone!
This release includes a new feature, that allows hooks to run inside a shell. This should allow you to use bash (or any other) syntax on your hooks.
The shell is configurable on your config.toml
, but defaults to sh -c '{}'
. This means it should work by default in any POSIX system. If you use flavours on windows (i'm not sure if someone does?), this will probably be a breaking change, so configure your shell to whatever you use (or set it to {}
to get the pre-0.4 behaviour).
Let me know if you have any feedback!