File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ namespace :compile do
2222 task :spec do
2323 proto_path = ::File . expand_path ( '../spec/support/' , __FILE__ )
2424 proto_files = Dir [ File . join ( proto_path , '**' , '*.proto' ) ]
25- cmd = %(protoc --plugin=./bin/protoc-gen-ruby --ruby_out =#{ proto_path } -I #{ proto_path } #{ proto_files . join ( ' ' ) } )
25+ cmd = %(protoc --plugin=protoc-gen-ruby-protobuf= ./bin/protoc-gen-ruby --ruby-protobuf_out =#{ proto_path } -I #{ proto_path } #{ proto_files . join ( ' ' ) } )
2626
2727 puts cmd
2828 system ( cmd )
@@ -35,7 +35,7 @@ namespace :compile do
3535 output_dir = ::File . expand_path ( '../tmp/rpc' , __FILE__ )
3636 ::FileUtils . mkdir_p ( output_dir )
3737
38- cmd = %(protoc --plugin=./bin/protoc-gen-ruby --ruby_out =#{ output_dir } -I #{ proto_path } #{ proto_files . join ( ' ' ) } )
38+ cmd = %(protoc --plugin=protoc-gen-ruby-protobuf= ./bin/protoc-gen-ruby --ruby-protobuf_out =#{ output_dir } -I #{ proto_path } #{ proto_files . join ( ' ' ) } )
3939
4040 puts cmd
4141 system ( cmd )
You can’t perform that action at this time.
0 commit comments