mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 03:18:55 +00:00
Add notes for contributors to README.md
This commit is contained in:
parent
5b82475d74
commit
fdbedd525a
19
README.md
19
README.md
@ -44,11 +44,20 @@ Building
|
|||||||
|
|
||||||
Install Go (at least 1.2), then run:
|
Install Go (at least 1.2), then run:
|
||||||
|
|
||||||
```
|
export GOPATH=~/src/go
|
||||||
export GOPATH=~/src/go
|
go get github.com/restic/restic/cmd/restic
|
||||||
go get github.com/restic/restic/cmd/restic
|
$GOPATH/bin/restic --help
|
||||||
$GOPATH/bin/restic --help
|
|
||||||
```
|
|
||||||
|
Contribute
|
||||||
|
==========
|
||||||
|
|
||||||
|
Contributions are welcome! Please make sure that all code submitted in
|
||||||
|
pull-requests is properly formatted with `gofmt`. Installing the script
|
||||||
|
`check-fmt` from https://github.com/edsrzf/gofmt-git-hook locally helps not to
|
||||||
|
forget formatting:
|
||||||
|
|
||||||
|
cp gofmt-git-hook/check-fmt restic/.git/hooks/pre-commit
|
||||||
|
|
||||||
License
|
License
|
||||||
=======
|
=======
|
||||||
|
Loading…
Reference in New Issue
Block a user