lnd/build/dependencies.go
naveen 192cee494f
mod+tools+Makefile:separate tools different module
Separated the tools to different go module to avoid having tools
dependencies on the main module.
2022-02-10 11:02:01 +01:00

16 lines
616 B
Go

//go:build buildtagdoesnotexist
// +build buildtagdoesnotexist
package build
// This file is a workaround to make sure go mod keeps around the btcd and fuzz
// dependencies in the go.sum file that we only use during certain tasks (such
// as integration tests or fuzzing) or only for certain operating systems. For
// example, the specific btcd import makes sure the indirect dependency
// github.com/btcsuite/winsvc is kept in the go.sum file. Because of the build
// tag, this dependency never ends up in the final lnd binary.
import (
_ "github.com/btcsuite/btcd"
_ "github.com/dvyukov/go-fuzz/go-fuzz-dep"
)