summaryrefslogtreecommitdiff
path: root/README.org
blob: 7294780a2f0f7ae82d2c5855a2fdeebb1f58bd5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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/pre-commit .git/hooks/pre-commit
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.