Add notes for contributors to README.md

This commit is contained in:
Alexander Neumann 2015-01-02 23:11:14 +01:00
parent 5b82475d74
commit fdbedd525a
1 changed files with 14 additions and 5 deletions

View File

@ -44,11 +44,20 @@ Building
Install Go (at least 1.2), then run:
```
export GOPATH=~/src/go
go get github.com/restic/restic/cmd/restic
$GOPATH/bin/restic --help
```
export GOPATH=~/src/go
go get github.com/restic/restic/cmd/restic
$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
=======