README: add -d flag to 'go get'

To make sure it doesn't try to build it.
This commit is contained in:
Carlos Martín Nieto 2014-10-31 23:20:57 +01:00
parent 58f6de09f4
commit 98299e65fb
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ Installing
This project needs libgit2, which is written in C so we need to build that as well. In order to build libgit2, you need `cmake`, `pkg-config` and a C compiler. You will also need the development packages for OpenSSL and LibSSH2 if you want to use HTTPS and SSH respectively.
Run `go get github.com/libgit2/git2go` to download the code and go to your `$GOPATH/src/github.com/libgit2/git2go` dir. From there, we need to build the C code and put it into the resulting go binary.
Run `go get -d github.com/libgit2/git2go` to download the code and go to your `$GOPATH/src/github.com/libgit2/git2go` dir. From there, we need to build the C code and put it into the resulting go binary.
git submodule update --init # get libgit2
make install