@@ -14,23 +14,31 @@ list](https://git-scm.com/docs/githooks).
14
14
15
15
## Table of Contents
16
16
17
- - [ Installation] ( #installation )
18
- - [ Backup] ( #backup-current-hooks )
19
- - [ Automatic] ( #automatic-installation )
20
- - [ Manual] ( #manual-installation )
21
- - [ Configuration] ( #configuration )
22
- - [ Execution] ( #execution )
23
- - [ Supported hooks] ( #supported-hooks )
24
- - [ Automatic] ( #automatic-execution )
25
- - [ Manual] ( #manual-execution )
17
+ <!-- vim-markdown-toc Marked -->
18
+
19
+ * [ Installation] ( #installation )
20
+ * [ Backup current hooks] ( #backup-current-hooks )
21
+ * [ Automatic installation] ( #automatic-installation )
22
+ * [ Manual installation] ( #manual-installation )
23
+ * [ Configuration] ( #configuration )
24
+ * [ Example config] ( #example-config )
25
+ * [ Type of tasks] ( #type-of-tasks )
26
+ * [ Command] ( #command )
27
+ * [ Executable file] ( #executable-file )
28
+ * [ Removing a hook] ( #removing-a-hook )
29
+ * [ Execution] ( #execution )
30
+ * [ Automatic execution] ( #automatic-execution )
31
+ * [ Manual execution] ( #manual-execution )
32
+
33
+ <!-- vim-markdown-toc -->
26
34
27
35
## Installation
28
36
29
37
Add to dependencies:
30
38
31
39
``` elixir
32
40
def deps do
33
- [{:git_hooks , " ~> 0.3.0 " , only: [:test , :dev ], runtime: false }]
41
+ [{:git_hooks , " ~> 0.3.2-pre3 " , only: [:test , :dev ], runtime: false }]
34
42
end
35
43
```
36
44
@@ -70,6 +78,8 @@ Currently there are supported two configuration options:
70
78
* ** tasks** : A list of the commands that will be executed when running a git hook. [ See types of tasks] ( #type-of-tasks ) for more info.
71
79
* ** verbose** : If true, the output of the mix tasks will be visible. This can be configured globally or per git hook.
72
80
81
+ ### Example config
82
+
73
83
``` elixir
74
84
config :git_hooks ,
75
85
verbose: true ,
0 commit comments