Skip to content

Commit f6c2fbc

Browse files
authored
Merge pull request #304 from src-d/gogetd
avoid compiling code before dependencies are ready
2 parents 60fae95 + 1e2cef5 commit f6c2fbc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,11 @@ Check the [Release](https://github.com/src-d/gitbase/releases) page to download
7272

7373
Because gitbase uses [bblfsh's client-go](https://github.com/bblfsh/client-go), which uses cgo, you need to install some dependencies by hand instead of just using `go get`.
7474

75+
_Note_: we use `go get -d` so the code is not compiled yet, as it would
76+
fail before `make dependencies` is executed successfully.
77+
7578
```
76-
go get github.com/src-d/gitbase/...
79+
go get -d github.com/src-d/gitbase
7780
cd $GOPATH/src/github.com/src-d/gitbase
7881
make dependencies
7982
```

0 commit comments

Comments
 (0)