Project

General

Profile

Updating dependencies » History » Version 2

Ward Vandewege, 08/03/2020 02:17 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 2 Ward Vandewege
go get git.arvados.org/arvados.git
10
cd ${GOPATH}/src/git.arvados.org/arvados.git && govendor update +v
11 1 Tom Clegg
</pre>
12
13 2 Ward Vandewege
Now $GOPATH/src/git.arvados.org/arvados.git/vendor/vendor.json is updated with new version specs. Run tests, commit, push.
14 1 Tom Clegg
15
"+v" means all vendor packages. You can also update a single dependency, etc. See https://github.com/kardianos/govendor