Makefile: use go install in the build target (#7248)
go install also caches dependency packages and it's faster than go build. Co-authored-by: Alessio Treglia <alessio@tendermint.com>
This commit is contained in:
parent
b4f146b62d
commit
93dd06ad4c
2
Makefile
2
Makefile
|
@ -84,7 +84,7 @@ include contrib/devtools/Makefile
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
build: go.sum
|
build: go.sum
|
||||||
go build -mod=readonly ./...
|
go install -mod=readonly ./...
|
||||||
|
|
||||||
build-simd: go.sum
|
build-simd: go.sum
|
||||||
mkdir -p $(BUILDDIR)
|
mkdir -p $(BUILDDIR)
|
||||||
|
|
Loading…
Reference in New Issue