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

Exclude windows on go get

上级 0d1bbf11
...@@ -48,11 +48,13 @@ func TaskCrossCompile(t *tasking.T) { ...@@ -48,11 +48,13 @@ func TaskCrossCompile(t *tasking.T) {
} }
// TODO: use a dependency manager that has versioning // TODO: use a dependency manager that has versioning
t.Log("Updating dependencies...") if runtime.GOOS != "windows" {
err = t.Exec("go get -u ./...") t.Log("Updating dependencies...")
if err != nil { err = t.Exec("go get -u ./...")
t.Errorf("Can't update goxc: %s\n", err) if err != nil {
return t.Errorf("Can't update goxc: %s\n", err)
return
}
} }
t.Logf("Cross-compiling gh for %s...\n", runtime.GOOS) t.Logf("Cross-compiling gh for %s...\n", runtime.GOOS)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册