瀏覽代碼

update .gobulid.yml

codeskyblue 10 年之前
父節點
當前提交
9ce0bd043c
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7 2
      .gobuild.yml

+ 7 - 2
.gobuild.yml

@@ -13,5 +13,10 @@ filesets:
         - \.git
 settings:
         build: |
-            go get -u -tags "sqlite redis memecache" github.com/gogits/gogs
-            go install -tags "sqlite redis memecache"
+            if test "$GOOS" = "windows" -a "$GOARCH" = "386"
+            then
+                go install -v
+            else
+                go get -v -tags "sqlite redis memecache" github.com/gogits/gogs
+                go install -v -tags "sqlite redis memecache"
+            fi