Skip to content

Commit

Permalink
Makefile: use go install in the build target (cosmos#7248)
Browse files Browse the repository at this point in the history
go install also caches dependency packages and
it's faster than go build.

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
  • Loading branch information
robert-zaremba and Alessio Treglia committed Sep 9, 2020
1 parent b4f146b commit 93dd06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 93dd06a

Please sign in to comment.