2022-07-18 19:36:58 +00:00
|
|
|
//go:build tools
|
2021-09-13 17:31:09 +00:00
|
|
|
|
2021-07-25 12:19:33 +00:00
|
|
|
package tools
|
|
|
|
|
|
|
|
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
|
|
|
|
//
|
|
|
|
// This module is just a hack for 'go mod tidy' command
|
|
|
|
//
|
|
|
|
// Problem is - 'go mod tidy' removes from go.mod file lines if you don't use them in source code
|
|
|
|
//
|
|
|
|
// But code generators we use as binaries - not by including them into source code
|
|
|
|
// To provide reproducible builds - go.mod file must be source of truth about code generators version
|
|
|
|
// 'go mod tidy' will not remove binary deps from go.mod file if you add them here
|
|
|
|
//
|
|
|
|
// use `make devtools` - does install all binary deps of right version
|
|
|
|
|
|
|
|
// build tag 'trick_go_mod_tidy' - is used to hide warnings of IDEA (because we can't import `main` packages in go)
|
|
|
|
|
|
|
|
import (
|
2022-08-03 04:54:34 +00:00
|
|
|
_ "github.com/ledgerwatch/interfaces"
|
|
|
|
_ "github.com/ledgerwatch/interfaces/downloader"
|
2022-11-30 10:20:21 +00:00
|
|
|
_ "github.com/ledgerwatch/interfaces/execution"
|
2022-11-28 23:01:03 +00:00
|
|
|
_ "github.com/ledgerwatch/interfaces/p2psentinel"
|
2022-08-03 04:54:34 +00:00
|
|
|
_ "github.com/ledgerwatch/interfaces/p2psentry"
|
|
|
|
_ "github.com/ledgerwatch/interfaces/remote"
|
|
|
|
_ "github.com/ledgerwatch/interfaces/txpool"
|
|
|
|
_ "github.com/ledgerwatch/interfaces/types"
|
|
|
|
_ "github.com/ledgerwatch/interfaces/web3"
|
2022-10-23 08:30:27 +00:00
|
|
|
_ "github.com/matryer/moq"
|
2022-09-18 10:38:43 +00:00
|
|
|
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
2021-07-25 12:19:33 +00:00
|
|
|
)
|