summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-10-31 23:20:57 +0100
committerCarlos Martín Nieto <[email protected]>2014-10-31 23:20:57 +0100
commit98299e65fbf1875a95c631c494dba0763ec543b3 (patch)
treee520a45d8c858ea5400583aec4480f0bb9d69ff8
parent58f6de09f4203b04e9f480fd2d7f0e253b155c96 (diff)
README: add -d flag to 'go get'
To make sure it doesn't try to build it.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index e1c3bc5..d10c46e 100644
--- a/README.md
+++ b/README.md
@@ -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