Compare commits
2 Commits
2de398032c
...
0b1826951e
Author | SHA1 | Date | |
---|---|---|---|
0b1826951e | |||
f080034fa4 |
5
Makefile
5
Makefile
@ -3,6 +3,7 @@
|
||||
CMD_NAME := go-server-with-otel
|
||||
VERSION ?= development
|
||||
API_DIR := api/
|
||||
SCHEMA_DIR := contrib/
|
||||
PROTO_DIRS := $(wildcard proto/demo/app/*) # TODO: Update path (probably not demo)
|
||||
PLATFORMS := linux/amd64 linux/arm64 darwin/amd64 darwin/arm64
|
||||
OUTPUT_DIR := bin
|
||||
@ -16,7 +17,9 @@ proto: check_protoc $(API_DIR)
|
||||
--go_out=$(API_DIR) --go_opt=paths=source_relative \
|
||||
--go-grpc_out=$(API_DIR) --go-grpc_opt=paths=source_relative \
|
||||
--grpc-gateway_out=$(API_DIR) --grpc-gateway_opt=paths=source_relative \
|
||||
--openapiv2_out=$(API_DIR) \
|
||||
--openapiv2_out=$(SCHEMA_DIR) \
|
||||
--openapiv2_opt allow_merge=true \
|
||||
--openapiv2_opt merge_file_name=$(CMD_NAME) \
|
||||
$(foreach dir, $(PROTO_DIRS), $(wildcard $(dir)/*.proto))
|
||||
|
||||
test:
|
||||
|
1
TODO.md
1
TODO.md
@ -1,6 +1,7 @@
|
||||
# Demo app TODO
|
||||
|
||||
- [ ] Update README for tagging/versioning/pipeline info
|
||||
- [ ] Update README for detail on installing protoc tools and make
|
||||
- [ ] Add helm external secrets support
|
||||
- [x] Rename project
|
||||
- [x] Finish grpc sample implementation
|
||||
|
Loading…
x
Reference in New Issue
Block a user