Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: current code is not based on stargate scaffold #55

Merged
merged 2 commits into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ BUILDDIR ?= $(CURDIR)/build

ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=crypto-com-chain \
-X github.com/cosmos/cosmos-sdk/version.ServerName=chain-maind \
-X github.com/cosmos/cosmos-sdk/version.ClientName=chain-maincli \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT)

Expand All @@ -20,11 +19,9 @@ all: install

install: go.sum
go install -mod=readonly $(BUILD_FLAGS) ./cmd/chain-maind
go install -mod=readonly $(BUILD_FLAGS) ./cmd/chain-maincli

build: go.sum
go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/chain-maind ./cmd/chain-maind
go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/chain-maincli ./cmd/chain-maincli
go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/chain-maind ./cmd/chain-maind
.PHONY: build

build-linux: go.sum
Expand Down Expand Up @@ -85,4 +82,4 @@ clean:
rm -rf $(BUILDDIR)/

clean-docker-compose:
rm -rf $(BUILDDIR)/node* $(BUILDDIR)/gentxs
rm -rf $(BUILDDIR)/node* $(BUILDDIR)/gentxs
Loading