Skip to content

Commit

Permalink
go get -> go install
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Aug 10, 2022
1 parent 1eea90f commit 8fa0d2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 106 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ go.sum: go.mod

draw-deps:
@# requires brew install graphviz or apt-get install graphviz
go get github.com/RobotsAndPencils/goviz
go install github.com/RobotsAndPencils/goviz@latest
@goviz -i ./cmd/wasmd -d 2 | dot -Tpng -o dependency-graph.png

clean:
Expand Down
6 changes: 3 additions & 3 deletions contrib/devtools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tools-stamp: statik runsim golangci-lint
statik: $(STATIK)
$(STATIK):
@echo "Installing statik..."
@(cd /tmp && go get github.com/rakyll/[email protected])
@(cd /tmp && go install github.com/rakyll/[email protected])

# Install the runsim binary with a temporary workaround of entering an outside
# directory as the "go get" command ignores the -mod option and will polute the
Expand All @@ -71,12 +71,12 @@ $(STATIK):
runsim: $(RUNSIM)
$(RUNSIM):
@echo "Installing runsim..."
@(cd /tmp && go get github.com/cosmos/tools/cmd/[email protected])
@(cd /tmp && go install github.com/cosmos/tools/cmd/[email protected])

golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT):
@echo "Installing golangci-lint..."
@(cd /tmp && go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.28.0)
@(cd /tmp && go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.48.0)

tools-clean:
rm -f $(STATIK) $(GOLANGCI_LINT) $(RUNSIM)
Expand Down
Loading

0 comments on commit 8fa0d2a

Please sign in to comment.