mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Makefile: allow command-specific go.mod files (#3641)
The command builds were always using the root go.mod. Adding cmd/mycmd/go.mod produced an "package not found" error. This changes the build to run in the cmd/mycmd directory: * If cmd/mycmd/go.mod is present, it is used. * Otherwise it builds the main package using the root go.mod as before.
This commit is contained in:
parent
d470349830
commit
90b52929c6
Loading…
Reference in New Issue
Block a user