Add a top level node for go tool installation in .hookz.yaml
djschleen opened this issue · 0 comments
djschleen commented
Hooks supports the download of tools via the URL property, but it will download the binary and place it in the .git/hooks subdirectory.
- Create a new top level node called tools. This should be an array of tools to install (name is tool). Values need to be a repository containing go files that could be installed as follows:
go install github.com/devops-kung-fu/hinge@latest
. - Syntax of the tool value should be the repository and version. Example: github.com/devops-kung-fu/hinge@latest, where @latest can be replaced with a specific version.
- When the user inits or resets the hookz system, it will run go install on the value of the tool node.