mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 13:55:42 +03:00
c3802dcc0f
Use the common `go get` method to install and run the revive linter, removing the useless build/lint.go and related vendor libraries.
24 lines
547 B
Go
24 lines
547 B
Go
// 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.
|
|
|
|
//+build vendor
|
|
|
|
package main
|
|
|
|
// Libraries that are included to vendor utilities used during build.
|
|
// These libraries will not be included in a normal compilation.
|
|
|
|
import (
|
|
// for embed
|
|
_ "github.com/shurcooL/vfsgen"
|
|
|
|
// for cover merge
|
|
_ "golang.org/x/tools/cover"
|
|
|
|
// for vet
|
|
_ "code.gitea.io/gitea-vet"
|
|
|
|
// for swagger
|
|
_ "github.com/go-swagger/go-swagger/cmd/swagger"
|
|
)
|