Fix building the example app
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
ca0a9e821e
commit
63098fe9fe
1 changed files with 10 additions and 2 deletions
12
Makefile
12
Makefile
|
@ -20,13 +20,21 @@ LD_FLAGS="-w -X $(REPO_PATH)/version.Version=$(VERSION)"
|
||||||
# Dependency versions
|
# Dependency versions
|
||||||
GOLANGCI_VERSION = 1.21.0
|
GOLANGCI_VERSION = 1.21.0
|
||||||
|
|
||||||
build: bin/dex bin/grpc-client
|
build: bin/dex
|
||||||
|
|
||||||
bin/dex:
|
bin/dex:
|
||||||
|
@mkdir -p bin/
|
||||||
@go install -v -ldflags $(LD_FLAGS) $(REPO_PATH)/cmd/dex
|
@go install -v -ldflags $(LD_FLAGS) $(REPO_PATH)/cmd/dex
|
||||||
|
|
||||||
|
examples: bin/grpc-client bin/example-app
|
||||||
|
|
||||||
bin/grpc-client:
|
bin/grpc-client:
|
||||||
@go install -v -ldflags $(LD_FLAGS) $(REPO_PATH)/examples/grpc-client
|
@mkdir -p bin/
|
||||||
|
@cd examples/ && go install -v -ldflags $(LD_FLAGS) $(REPO_PATH)/examples/grpc-client
|
||||||
|
|
||||||
|
bin/example-app:
|
||||||
|
@mkdir -p bin/
|
||||||
|
@cd examples/ && go install -v -ldflags $(LD_FLAGS) $(REPO_PATH)/examples/example-app
|
||||||
|
|
||||||
.PHONY: release-binary
|
.PHONY: release-binary
|
||||||
release-binary:
|
release-binary:
|
||||||
|
|
Reference in a new issue