Skip to content

Commit

Permalink
make layer'
Browse files Browse the repository at this point in the history
  • Loading branch information
GNaD13 committed Oct 13, 2023
1 parent f7b6cac commit 13bff49
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ comma := ,
build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags))

# process linker flags
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=composable \
-X github.com/cosmos/cosmos-sdk/version.AppName=composabled \
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=layer \
-X github.com/cosmos/cosmos-sdk/version.AppName=layerd \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)"
Expand All @@ -86,13 +86,13 @@ endif
all: install

install: go.sum
go install -mod=readonly $(BUILD_FLAGS) ./cmd/composabled
go install -mod=readonly $(BUILD_FLAGS) ./cmd/layerd

build:
go build $(BUILD_FLAGS) -o bin/composabled ./cmd/composabled
go build $(BUILD_FLAGS) -o bin/layerd ./cmd/layerd

docker-build-debug:
@DOCKER_BUILDKIT=1 docker build -t composable:debug -f Dockerfile .
@DOCKER_BUILDKIT=1 docker build -t layer:debug -f Dockerfile .

lint:
@find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' -not -name '*.gw.go' | xargs go run mvdan.cc/gofumpt -w .
Expand Down

0 comments on commit 13bff49

Please sign in to comment.