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:
Robert Zaremba 2020-09-09 13:31:39 +02:00 committed by GitHub
parent b4f146b62d
commit 93dd06ad4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ include contrib/devtools/Makefile
###############################################################################
build: go.sum
go build -mod=readonly ./...
go install -mod=readonly ./...
build-simd: go.sum
mkdir -p $(BUILDDIR)