From addd6978da45a0c5ecb4e393a335b196dd3afa49 Mon Sep 17 00:00:00 2001 From: Jingwen Owen Ou Date: Tue, 26 Nov 2013 07:33:48 -0800 Subject: [PATCH] Always `go get -u` for linux build --- gh_task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh_task.go b/gh_task.go index 426a6e1a..00da8fc5 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 -- GitLab