Fix build issue with vendored sources
Fix a build issue when `go mod vendor` was used to vendor all the sources. This now includes Mage (`github.com/magefile/mage/mage`), so that the build tool itself can be built too.
This commit is contained in:
parent
30997013b1
commit
b84523c0ae
@ -10,4 +10,9 @@ import (
|
||||
// Go code generators:
|
||||
_ "github.com/deepmap/oapi-codegen/cmd/oapi-codegen"
|
||||
_ "github.com/golang/mock/mockgen"
|
||||
|
||||
// Our build tool. Normally this isn't necessary, but it's needed to be able
|
||||
// to build the tool when `go mod vendor` has been used to vendor the
|
||||
// dependencies.
|
||||
_ "github.com/magefile/mage/mage"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user