summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/gitea-vet/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/code.gitea.io/gitea-vet/main.go')
-rw-r--r--vendor/code.gitea.io/gitea-vet/main.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/code.gitea.io/gitea-vet/main.go b/vendor/code.gitea.io/gitea-vet/main.go
new file mode 100644
index 0000000000..4894055086
--- /dev/null
+++ b/vendor/code.gitea.io/gitea-vet/main.go
@@ -0,0 +1,19 @@
+// Copyright 2020 The Gitea 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 main
+
+import (
+ "code.gitea.io/gitea-vet/checks"
+
+ "golang.org/x/tools/go/analysis/unitchecker"
+)
+
+func main() {
+ unitchecker.Main(
+ checks.Imports,
+ checks.License,
+ checks.Migrations,
+ )
+}