Skip to content

Commit c0795f3

Browse files
authored
[RSDK-626] RDK Protos + Package Naming (viamrobotics#51)
1 parent 9fb2a4e commit c0795f3

File tree

406 files changed

+178890
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

406 files changed

+178890
-13
lines changed

Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dist/tool-install: Makefile
2222
mkdir -p dist
2323
touch dist/tool-install
2424

25-
dist/buf: dist/buf-go
25+
dist/buf: dist/buf-go dist/buf-web
2626

2727
#TODO(steve) add all proto files to the list
2828
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
@@ -33,6 +33,12 @@ dist/buf-go: dist/tool-install proto/viam/app/v1/app.proto proto/viam/tagger/v1/
3333
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
3434
touch dist/buf-go
3535

36+
dist/buf-web: dist/tool-install
37+
PATH=$(PATH_WITH_TOOLS) buf lint
38+
PATH=$(PATH_WITH_TOOLS) buf format -w
39+
PATH=$(PATH_WITH_TOOLS) buf generate --template ./proto/viam/buf.gen.web.yaml
40+
PATH=$(PATH_WITH_TOOLS) buf generate --timeout 5m --template ./proto/viam/buf.gen.web.yaml buf.build/googleapis/googleapis
41+
3642
lint: dist/tool-install
3743
PATH=$(PATH_WITH_TOOLS) buf lint
3844
PATH=$(PATH_WITH_TOOLS) buf format -w

app/data/v1/data.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/datasync/v1/data_sync.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/model/v1/model.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/v1/app.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/v1/robot.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)