Skip to content

Commit

Permalink
App proto package renaming viamrobotics#43
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebriskin authored Sep 13, 2022
2 parents eab3b50 + f4697d6 commit f42bfd7
Show file tree
Hide file tree
Showing 31 changed files with 3,716 additions and 3,757 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ dist/tool-install: Makefile

dist/buf: dist/buf-go

dist/buf-go: dist/tool-install proto/viam/app/v1/app.proto proto/tagger/v1/tagger.proto proto/viam/datasync/v1/data_sync.proto
#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
PATH=$(PATH_WITH_TOOLS) buf lint
PATH=$(PATH_WITH_TOOLS) buf format -w
PATH=$(PATH_WITH_TOOLS) buf generate
PATH=$(PATH_WITH_TOOLS) buf generate --template ./etc/buf.gen.tag.yaml
PATH=$(PATH_WITH_TOOLS) ls proto/viam/app/v1/*_grpc.pb.go | while read l; do mockgen -source="$$l" -destination=proto/viam/app/mock_v1/mock_`basename "$$l"`; done
PATH=$(PATH_WITH_TOOLS) buf generate --template ./proto/viam/buf.gen.yaml
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

lint: dist/tool-install
Expand Down
513 changes: 255 additions & 258 deletions proto/viam/data/v1/data.pb.go → app/data/v1/data.pb.go

Large diffs are not rendered by default.

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

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

Loading

0 comments on commit f42bfd7

Please sign in to comment.