From fdbedd525a1743b469761558c1bec15f14d09a70 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 2 Jan 2015 23:11:14 +0100 Subject: [PATCH] Add notes for contributors to README.md --- README.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d61a1d7a4..70b11fdcb 100644 --- a/README.md +++ b/README.md @@ -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 =======