Skip to content

Commit

Permalink
Handle make dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ggomma committed Aug 12, 2019
1 parent 8913cbe commit b7261bb
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ldflags += $(LDFLAGS)
ldflags := $(strip $(ldflags))
BUILD_FLAGS := -tags "$(build_tags)" -ldflags '$(ldflags)'

all: lint install
all: get_tools lint install

########################################
### Testing
Expand Down Expand Up @@ -57,6 +57,10 @@ install: go.sum update_panacea_lite_docs
########################################
### Tools & dependencies

get_tools:
go get github.com/rakyll/statik
go get github.com/golangci/golangci-lint/cmd/golangci-lint

go.sum: go.mod
@echo "--> Ensure dependencies have not been modified"
@go mod verify
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ replace golang.org/x/crypto => github.com/tendermint/crypto v0.0.0-2018082004570

require (
github.com/cosmos/cosmos-sdk v0.34.7
github.com/golangci/golangci-lint v1.17.1 // indirect
github.com/gorilla/mux v1.7.0
github.com/rakyll/statik v0.1.6
github.com/spf13/cobra v0.0.5
Expand Down
Loading

0 comments on commit b7261bb

Please sign in to comment.