提交 addd6978 编写于 作者: J Jingwen Owen Ou

Always `go get -u` for linux build

上级 3b278a11
......@@ -31,7 +31,7 @@ func TaskCrossCompileAll(t *tasking.T) {
// for linux
t.Log("Compiling for linux...")
err = t.Exec("vagrant ssh -c 'cd ~/src/github.com/jingweno/gh && git pull origin master && gotask cross-compile'")
err = t.Exec("vagrant ssh -c 'cd ~/src/github.com/jingweno/gh && git pull origin master && go get -u ./... && gotask cross-compile'")
if err != nil {
t.Errorf("Can't compile on linux: %s\n", err)
return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册