Render ruby protobufs to ruby lib
This commit is contained in:
parent
c3ee750db1
commit
c1ce1016c7
@ -15,7 +15,7 @@ import (
|
||||
|
||||
//go:generate sh -c "protoc -I`go list -m -f \"{{.Dir}}\" github.com/mitchellh/protostructure` -I`go list -m -f \"{{.Dir}}\" github.com/hashicorp/vagrant-plugin-sdk`/proto/vagrant_plugin_sdk -I../../vendor/proto/api-common-protos -I. --go-grpc_out=./proto/vagrant_server --go-grpc_opt=module=github.com/hashicorp/vagrant/internal/server/proto/vagrant_server --go_out=./proto/vagrant_server --go_opt=module=github.com/hashicorp/vagrant/internal/server/proto/vagrant_server proto/vagrant_server/*.proto"
|
||||
//go:generate sh -c "protoc -I../../vendor/proto/api-common-protos -I. --go-grpc_out=./proto/ruby_vagrant --go-grpc_opt=module=github.com/hashicorp/vagrant/internal/server/proto/ruby_vagrant --go_out=./proto/ruby_vagrant --go_opt=module=github.com/hashicorp/vagrant/internal/server/proto/ruby_vagrant proto/ruby_vagrant/*.proto"
|
||||
//go:generate sh -c "grpc_tools_ruby_protoc -I`go list -m -f \"{{.Dir}}\" github.com/mitchellh/protostructure` -I`go list -m -f \"{{.Dir}}\" github.com/hashicorp/vagrant-plugin-sdk`/proto/vagrant_plugin_sdk -I../../vendor/proto/api-common-protos -I. --grpc_out=./gen/ruby --ruby_out=./gen/ruby proto/vagrant_server/*.proto proto/ruby_vagrant/*.proto"
|
||||
//go:generate sh -c "grpc_tools_ruby_protoc -I`go list -m -f \"{{.Dir}}\" github.com/mitchellh/protostructure` -I`go list -m -f \"{{.Dir}}\" github.com/hashicorp/vagrant-plugin-sdk`/proto/vagrant_plugin_sdk -I../../vendor/proto/api-common-protos -I. --grpc_out=../../lib/vagrant/protobufs/ --ruby_out=../../lib/vagrant/protobufs/ proto/vagrant_server/*.proto proto/ruby_vagrant/*.proto"
|
||||
|
||||
// mockery -all -case underscore -dir ./gen -output ./gen/mocks
|
||||
|
||||
|
||||
@ -57,6 +57,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
||||
optional :physical_state, :enum, 50, "hashicorp.vagrant.Operation.PhysicalState"
|
||||
optional :remote_enabled, :bool, 51
|
||||
optional :data_source, :message, 52, "hashicorp.vagrant.Job.DataSource"
|
||||
optional :provider, :string, 53
|
||||
end
|
||||
add_message "hashicorp.vagrant.Ref" do
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user