From 26ac4065d218364013cb8ce4825fe8232070369e Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 7 Apr 2021 16:18:05 -0700 Subject: [PATCH] Remove `go generate` directives from the server.go file --- internal/server/server.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/server/server.go b/internal/server/server.go index d0410520b..76548be60 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -13,10 +13,6 @@ import ( "github.com/hashicorp/vagrant/internal/server/proto/vagrant_server" ) -//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=../../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 // Run initializes and starts the server. This will block until the server