diff options
author | Thomas Boerger <thomas@webhippie.de> | 2016-12-01 08:28:43 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-01 15:28:43 +0800 |
commit | 2932042a6d6dcf8d4f74de0abce688190f2925b9 (patch) | |
tree | 6091e22f8b9e5cffa9275af3ab447467dbe17777 /modules/setting | |
parent | bf0edcbdeaf207f2a8cae475a58f2ed66ae22d25 (diff) | |
download | gitea-2932042a6d6dcf8d4f74de0abce688190f2925b9.tar.gz gitea-2932042a6d6dcf8d4f74de0abce688190f2925b9.zip |
Get rid of bin folder within makefile, enabled TiDB (#319)
* Get rid of the bin folder within the build process
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped latest make task, it is unused
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Added tidb tag to drone config
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped the cert build tag
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped useless minwinsvc build tag
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Dropped the useless build tags from drone config
Signed-off-by: Thomas Boerger <thomas@webhippie.de>
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/miniwinsvc.go | 15 | ||||
-rw-r--r-- | modules/setting/setting.go | 2 |
2 files changed, 1 insertions, 16 deletions
diff --git a/modules/setting/miniwinsvc.go b/modules/setting/miniwinsvc.go deleted file mode 100644 index 02e8eb91fc..0000000000 --- a/modules/setting/miniwinsvc.go +++ /dev/null @@ -1,15 +0,0 @@ -// +build miniwinsvc - -// Copyright 2015 The Gogs Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. - -package setting - -import ( - _ "github.com/kardianos/minwinsvc" -) - -func init() { - SupportMiniWinService = true -} diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 12025a27bf..2ee8ce94d7 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -22,6 +22,7 @@ import ( _ "github.com/go-macaron/cache/redis" "github.com/go-macaron/session" _ "github.com/go-macaron/session/redis" // redis plugin for store session + _ "github.com/kardianos/minwinsvc" // import minwinsvc for windows services "gopkg.in/ini.v1" "strk.kbt.io/projects/go/libravatar" @@ -259,7 +260,6 @@ var ( ShowFooterBranding bool ShowFooterVersion bool ShowFooterTemplateLoadTime bool - SupportMiniWinService bool // Global setting objects Cfg *ini.File |