I've been dealing with non-node projects on and off and often wanted to leverage ghooks' idea. For these projects I used make as the automation tool, and ended up with an approach that I think has been working fine for me. Quite a simple one I'd say: have ./.git/hooks to be a symlink to a versioned ./.githooks directory.
Hey all,
I've been dealing with non-node projects on and off and often wanted to leverage ghooks' idea. For these projects I used
make
as the automation tool, and ended up with an approach that I think has been working fine for me. Quite a simple one I'd say: have./.git/hooks
to be a symlink to a versioned./.githooks
directory.I've put a crystal shard up here implementing this approach: gtramontina/ghooks.cr.
Let me know your ðŸ’