readme again
This commit is contained in:
parent
ec592d20ae
commit
112695c340
|
@ -8,6 +8,7 @@ usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
* to install the hooks use:
|
* to install the hooks use:
|
||||||
|
|
||||||
go get github.com/mthie/git-gohooks
|
go get github.com/mthie/git-gohooks
|
||||||
|
|
||||||
go get github.com/mthie/git-gohooks/githook-gobuild
|
go get github.com/mthie/git-gohooks/githook-gobuild
|
||||||
|
@ -18,5 +19,9 @@ usage
|
||||||
|
|
||||||
|
|
||||||
* you have the choice to copy it to your .git/hooks/ folder or to symlink it with
|
* you have the choice to copy it to your .git/hooks/ folder or to symlink it with
|
||||||
( cd .git/hooks && ln -s $GOPATH/bin/git-gohooks pre-commit && ln -s $GOPATH/bin/githook-gofmt pre-commit_01_gofmt && ln -s $GOPATH/bin/githook-gobuild pre-commit-02_gobuild && ln -s $GOPATH/bin/githook-gotest pre-commit_03_gotest )
|
( cd .git/hooks && \
|
||||||
|
ln -s $GOPATH/bin/git-gohooks pre-commit && \
|
||||||
|
ln -s $GOPATH/bin/githook-gofmt pre-commit_01_gofmt && \
|
||||||
|
ln -s $GOPATH/bin/githook-gobuild pre-commit-02_gobuild && \
|
||||||
|
ln -s $GOPATH/bin/githook-gotest pre-commit_03_gotest )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user