build: refactor makefile

This commit is contained in:
Oleg Lobanov
2021-12-20 23:16:35 +01:00
parent b1e0d5b39f
commit f81857acce
15 changed files with 3333 additions and 87 deletions

15
tools/tools.go Normal file
View File

@@ -0,0 +1,15 @@
//go:build tools
// +build tools
package tools
// Manage tool dependencies via go.mod.
//
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
// https://github.com/golang/go/issues/25922
//
// nolint
import (
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
_ "golang.org/x/tools/cmd/goimports"
)