Add configuration for hooks_path

This commit is contained in:
Donal McBreen
2023-05-22 11:09:13 +01:00
parent f3ec9f19c8
commit 910f14e9c0
4 changed files with 21 additions and 5 deletions

View File

@@ -908,6 +908,8 @@ You can run custom scripts at specific points with hooks.
Hooks should be stored in the .mrsk/hooks folder. Running mrsk init will build that folder and add some sample scripts.
You can change their location by setting `hooks_path` in the configuration file.
If the script returns a non-zero exit code the command will be aborted.
There are currently two hooks: