blob: 78e4c799bf8a614d7271f822722ad46b3ba320d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Playing with Rust as an option for writing git hooks.
To try the hooks, do the following to compile the hooks and symlink
them into your git hooks folder.
#+BEGIN_SRC sh
cargo build
ln -s $PWD/target/debug/prepare-commit-msg .git/hooks/prepare-commit-msg
ln -s $PWD/target/debug/commit-msg .git/hooks/commit-msg
ln -s $PWD/target/debug/pre-push .git/hooks/pre-push
#+END_SRC
* License
MIT Licensed. See LICENSE file for details.
|