From 092b59a29727d1bb56cb3452c6649db8dcfad942 Mon Sep 17 00:00:00 2001 From: shengxiang Date: Sun, 28 Sep 2014 12:44:37 +0800 Subject: [PATCH 1/4] Update .gobuild.yml --- .gobuild.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gobuild.yml b/.gobuild.yml index c3fa262ef..933b27c2b 100644 --- a/.gobuild.yml +++ b/.gobuild.yml @@ -10,3 +10,7 @@ filesets: - README_ZH.md excludes: - \.git +settings: + build: | + go get -u -tags "sqlite redis memecache" github.com/gogits/gogs + go install -tags "sqlite redis memecache" From ab59165d2f92701c0935767fbba2d7313d6c3142 Mon Sep 17 00:00:00 2001 From: shengxiang Date: Sun, 28 Sep 2014 12:45:21 +0800 Subject: [PATCH 2/4] Create start.bat --- start.bat | 1 + 1 file changed, 1 insertion(+) create mode 100644 start.bat diff --git a/start.bat b/start.bat new file mode 100644 index 000000000..1d6f839d3 --- /dev/null +++ b/start.bat @@ -0,0 +1 @@ +gogs web From 3598c1435e459ce55d1080c1bc971992a42d32c9 Mon Sep 17 00:00:00 2001 From: shengxiang Date: Sun, 28 Sep 2014 13:02:17 +0800 Subject: [PATCH 3/4] Update .gobuild.yml --- .gobuild.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gobuild.yml b/.gobuild.yml index 933b27c2b..310fffc22 100644 --- a/.gobuild.yml +++ b/.gobuild.yml @@ -8,6 +8,7 @@ filesets: - LICENSE - README.md - README_ZH.md + - start.bat excludes: - \.git settings: From 9ce0bd043c6721a56fb852ed071c445d8d08816d Mon Sep 17 00:00:00 2001 From: codeskyblue Date: Sun, 28 Sep 2014 16:37:58 +0800 Subject: [PATCH 4/4] update .gobulid.yml --- .gobuild.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gobuild.yml b/.gobuild.yml index 310fffc22..70f66febc 100644 --- a/.gobuild.yml +++ b/.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