Project

General

Profile

Updating dependencies » History » Version 1

Tom Clegg, 05/21/2017 06:43 PM

1 1 Tom Clegg
h1. Updating dependencies
2
3
h2. Go
4
5
Ensure $GOPATH is set (e.g., to $HOME/go)
6
7
<pre>
8
go get github.com/kardianos/govendor
9
go get git.curoverse.com/arvados.git
10
cd ${GOPATH}/src/git.curoverse.com/arvados.git && govendor update +v
11
</pre>
12
13
Now $GOPATH/src/git.coroverse.com/arvados.git/vendor/vendor.json is updated with new version specs. Run tests, commit, push.
14
15
"+v" means all vendor packages. You can also update a single dependency, etc. See https://github.com/kardianos/govendor