ghooks-org / ghooks

Simple git hooks
MIT License
1.08k stars 62 forks source link

Suggestion for a new approach #229

Open gtramontina opened 6 years ago

gtramontina commented 6 years ago

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 💭

gtramontina commented 5 years ago

Here's the same approach implemented as a Gradle plugin: https://github.com/gtramontina/ghooks.gradle