examples: adding a gRPC client example.
This commit is contained in:
5
Makefile
5
Makefile
@@ -23,7 +23,7 @@ export GO15VENDOREXPERIMENT=1
|
||||
|
||||
LD_FLAGS="-w -X $(REPO_PATH)/version.Version=$(VERSION)"
|
||||
|
||||
build: bin/dex bin/example-app
|
||||
build: bin/dex bin/example-app bin/grpc-client
|
||||
|
||||
bin/dex: check-go-version
|
||||
@go install -v -ldflags $(LD_FLAGS) $(REPO_PATH)/cmd/dex
|
||||
@@ -31,6 +31,9 @@ bin/dex: check-go-version
|
||||
bin/example-app: check-go-version
|
||||
@go install -v -ldflags $(LD_FLAGS) $(REPO_PATH)/cmd/example-app
|
||||
|
||||
bin/grpc-client: check-go-version
|
||||
@go install -v -ldflags $(LD_FLAGS) $(REPO_PATH)/examples/grpc-client
|
||||
|
||||
.PHONY: release-binary
|
||||
release-binary:
|
||||
@go build -o _output/bin/dex -v -ldflags $(LD_FLAGS) $(REPO_PATH)/cmd/dex
|
||||
|
Reference in New Issue
Block a user