Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ruby generated output #79

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ endif
INTEGRATION_TEST_ROOT = ./test/integration
UNIT_TEST_PACKAGES = $(shell go list ./... | grep -v $(INTEGRATION_TEST_ROOT))

PROTO_DIR = protos
PROTO_FILES = $(wildcard $(PROTO_DIR)/*.proto)

build:
go build $(GO_FLAGS) -v -o $(GOPATH)/bin/fleet-telemetry cmd/main.go
@echo "** build complete: $(GOPATH)/bin/fleet-telemetry **"
Expand Down Expand Up @@ -58,12 +61,15 @@ generate-certs:
go run tools/main.go

generate-golang:
protoc --go_out=./ --go_opt=paths=source_relative protos/*.proto
protoc --go_out=./ --go_opt=paths=source_relative $(PROTO_DIR)/*.proto

generate-python:
protoc -I=protos --python_out=protos/python/ protos/*.proto
protoc -I=$(PROTO_DIR) --python_out=$(PROTO_DIR)/python/ $(PROTO_DIR)/*.proto

generate-ruby:
protoc --ruby_out=$(PROTO_DIR)/ruby/ --proto_path=$(PROTO_DIR) $(PROTO_FILES)

generate-protos: generate-golang generate-python
generate-protos: generate-golang generate-python generate-ruby

image-gen:
docker build -t $(ALPHA_IMAGE_NAME) .
Expand Down
43 changes: 43 additions & 0 deletions protos/ruby/vehicle_alert_pb.rb

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

47 changes: 47 additions & 0 deletions protos/ruby/vehicle_data_pb.rb

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

42 changes: 42 additions & 0 deletions protos/ruby/vehicle_error_pb.rb

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

42 changes: 42 additions & 0 deletions protos/ruby/vehicle_metric_pb.rb

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