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
22
22
task :spec do
23
23
proto_path = ::File . expand_path ( '../spec/support/' , __FILE__ )
24
24
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 ( ' ' ) } )
26
26
27
27
puts cmd
28
28
system ( cmd )
@@ -35,7 +35,7 @@ namespace :compile do
35
35
output_dir = ::File . expand_path ( '../tmp/rpc' , __FILE__ )
36
36
::FileUtils . mkdir_p ( output_dir )
37
37
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 ( ' ' ) } )
39
39
40
40
puts cmd
41
41
system ( cmd )
You can’t perform that action at this time.
0 commit comments