diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2016-07-25 14:58:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-25 14:58:41 -0700 |
commit | b1cecb676226233036fb66fe4f3267d95c41c2aa (patch) | |
tree | 0b615fe87623639c44c2b28284a20a8e9ac44cd6 /ruby/Rakefile | |
parent | 868ea59256b999175ba04c1b9cfe74ff1fbae13d (diff) | |
parent | 4f19797baf1c874c3aa03202908178ec66d7b45c (diff) | |
download | protobuf-b1cecb676226233036fb66fe4f3267d95c41c2aa.tar.gz protobuf-b1cecb676226233036fb66fe4f3267d95c41c2aa.tar.bz2 protobuf-b1cecb676226233036fb66fe4f3267d95c41c2aa.zip |
Merge pull request #1837 from haberman/rubygencodename
Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
Diffstat (limited to 'ruby/Rakefile')
-rw-r--r-- | ruby/Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/Rakefile b/ruby/Rakefile index fa29c315..f6354e1e 100644 --- a/ruby/Rakefile +++ b/ruby/Rakefile @@ -31,7 +31,7 @@ genproto_output = [] unless ENV['IN_DOCKER'] == 'true' well_known_protos.each do |proto_file| input_file = "../src/" + proto_file - output_file = "lib/" + proto_file.sub(/\.proto$/, ".rb") + output_file = "lib/" + proto_file.sub(/\.proto$/, "_pb.rb") genproto_output << output_file file output_file => input_file do |file_task| sh "../src/protoc -I../src --ruby_out=lib #{input_file}" |