diff --git a/gh_task.go b/gh_task.go index 426a6e1a30628e2bf5b752630ff0cd512dffcef0..00da8fc5ed93b6aa0dc36f1834f73977c15d3e42 100644 --- a/gh_task.go +++ b/gh_task.go @@ -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