Skip to content

Commit

Permalink
mode model_test.proto to prototest folder
Browse files Browse the repository at this point in the history
Signed-off-by: nabil salah <[email protected]>
  • Loading branch information
Nabil-Salah committed Jan 21, 2025
1 parent 26039bb commit e8e79d0
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 50 deletions.
5 changes: 2 additions & 3 deletions Makefile.Protobuf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
# instead of the go_package's declared by the imported protof files.
#

DOCKER=docker
DOCKER_PROTOBUF_VERSION=0.5.0
DOCKER_PROTOBUF=jaegertracing/protobuf:$(DOCKER_PROTOBUF_VERSION)
PROTOC := ${DOCKER} run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${DOCKER_PROTOBUF} --proto_path=${PWD}
#PROTOC := ${DOCKER} run --rm -u ${shell id -u} -v${PWD}:${PWD} -w${PWD} ${DOCKER_PROTOBUF} --proto_path=${PWD}

PATCHED_OTEL_PROTO_DIR = proto-gen/.patched-otel-proto

Expand Down Expand Up @@ -67,7 +66,7 @@ new-proto: new-proto-api-v2 \
.PHONY: proto-model
proto-model:
$(call proto_compile, model/v1, proto/api_v2/model.proto)
$(PROTOC) -Imodel/proto --go_out=$(PWD)/model/v1/ model/v1/proto/model_test.proto
$(PROTOC) -Imodel/proto --go_out=$(PWD)/model/v1/ model/v1/prototest/model_test.proto


.PHONY: new-proto-api-v2
Expand Down
94 changes: 47 additions & 47 deletions model/v1/prototest/model_test.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

0 comments on commit e8e79d0

Please sign in to comment.