File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ unit-test-coverage:
301
301
302
302
.PHONY : vendor
303
303
vendor :
304
- $(GO ) mod tidy && $(GO ) mod vendor
304
+ $(GO ) mod tidy && TAGS= " $( TAGS ) vendor " $(GO ) mod vendor
305
305
306
306
.PHONY : test-vendor
307
307
test-vendor : vendor
Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a MIT-style
3
3
// license that can be found in the LICENSE file.
4
4
5
- package build
5
+ //+build vendor
6
+
7
+ package main
8
+
9
+ // Libraries that are included to vendor utilities used during build.
10
+ // These libraries will not be included in a normal compilation.
6
11
7
12
import (
8
13
// for lint
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ import (
21
21
_ "code.gitea.io/gitea/modules/markup/markdown"
22
22
_ "code.gitea.io/gitea/modules/markup/orgmode"
23
23
24
- // for build
25
- _ "code.gitea.io/gitea/build"
26
-
27
24
"github.com/urfave/cli"
28
25
)
29
26
You can’t perform that action at this time.
0 commit comments