Skip to content

Commit

Permalink
[RSDK-626] RDK Protos + Package Naming (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
njooma authored Sep 16, 2022
1 parent 9fb2a4e commit c0795f3
Show file tree
Hide file tree
Showing 406 changed files with 178,890 additions and 13 deletions.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dist/tool-install: Makefile
mkdir -p dist
touch dist/tool-install

dist/buf: dist/buf-go
dist/buf: dist/buf-go dist/buf-web

#TODO(steve) add all proto files to the list
dist/buf-go: dist/tool-install proto/viam/app/v1/app.proto proto/viam/tagger/v1/tagger.proto proto/viam/app/datasync/v1/data_sync.proto
Expand All @@ -33,6 +33,12 @@ dist/buf-go: dist/tool-install proto/viam/app/v1/app.proto proto/viam/tagger/v1/
PATH=$(PATH_WITH_TOOLS) ls app/v1/*_grpc.pb.go | while read l; do mockgen -source="$$l" -destination=app/mock_v1/mock_`basename "$$l"`; done
touch dist/buf-go

dist/buf-web: dist/tool-install
PATH=$(PATH_WITH_TOOLS) buf lint
PATH=$(PATH_WITH_TOOLS) buf format -w
PATH=$(PATH_WITH_TOOLS) buf generate --template ./proto/viam/buf.gen.web.yaml
PATH=$(PATH_WITH_TOOLS) buf generate --timeout 5m --template ./proto/viam/buf.gen.web.yaml buf.build/googleapis/googleapis

lint: dist/tool-install
PATH=$(PATH_WITH_TOOLS) buf lint
PATH=$(PATH_WITH_TOOLS) buf format -w
Expand Down
2 changes: 1 addition & 1 deletion app/data/v1/data.pb.go

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

2 changes: 1 addition & 1 deletion app/datasync/v1/data_sync.pb.go

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

2 changes: 1 addition & 1 deletion app/model/v1/model.pb.go

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

2 changes: 1 addition & 1 deletion app/v1/app.pb.go

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

2 changes: 1 addition & 1 deletion app/v1/robot.pb.go

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

Loading

0 comments on commit c0795f3

Please sign in to comment.