Skip to content

Commit

Permalink
CM-XX Fixed issue where ledger support was being overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
njmurarka committed Aug 6, 2020
1 parent 6e46e52 commit 3240228
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ LDFLAGS_FAUCET = -X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_t
LDFLAGS_NO_FAUCET = -X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep),cosmos-sdk $(COSMOS_SDK)"

BUILD_FLAGS := -tags "$(build_tags)"
FAUCET_BUILD_FLAGS := -tags "$(build_tags),faucet"

all:
go build $(BUILD_FLAGS) -ldflags '$(LDFLAGS) $(LDFLAGS_NO_FAUCET)' ./cmd/blzd
Expand All @@ -39,9 +40,9 @@ mainnet: go.sum
go install -mod=readonly $(BUILD_FLAGS) -ldflags '$(LDFLAGS) $(LDFLAGS_NO_FAUCET)' ./cmd/blzcli

testnet:
# only testnet has the faucet enabled...
go install -mod=readonly $(BUILD_FLAGS) -tags "faucet" -ldflags '$(LDFLAGS) $(LDFLAGS_FAUCET)' ./cmd/blzd
go install -mod=readonly $(BUILD_FLAGS) -tags "faucet" -ldflags '$(LDFLAGS) $(LDFLAGS_FAUCET)' ./cmd/blzcli
# only testnet has the faucet enabled...
go install -mod=readonly $(FAUCET_BUILD_FLAGS) -ldflags '$(LDFLAGS) $(LDFLAGS_FAUCET)' ./cmd/blzd
go install -mod=readonly $(FAUCET_BUILD_FLAGS) -ldflags '$(LDFLAGS) $(LDFLAGS_FAUCET)' ./cmd/blzcli

go.sum: go.mod
@echo "--> Ensure dependencies have not been modified"
Expand Down

0 comments on commit 3240228

Please sign in to comment.