mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-26 00:48:29 +00:00 
			
		
		
		
	Use the common `go get` method to install and run the revive linter, removing the useless build/lint.go and related vendor libraries.
		
			
				
	
	
		
			25 lines
		
	
	
		
			547 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			25 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"
 | |
| )
 |