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

Exclude windows on go get

上级 0d1bbf11
......@@ -48,11 +48,13 @@ func TaskCrossCompile(t *tasking.T) {
}
// TODO: use a dependency manager that has versioning
t.Log("Updating dependencies...")
err = t.Exec("go get -u ./...")
if err != nil {
t.Errorf("Can't update goxc: %s\n", err)
return
if runtime.GOOS != "windows" {
t.Log("Updating dependencies...")
err = t.Exec("go get -u ./...")
if err != nil {
t.Errorf("Can't update goxc: %s\n", err)
return
}
}
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.
先完成此消息的编辑!
想要评论请 注册