aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/Rakefile
diff options
context:
space:
mode:
authorGravatar Josh Haberman <jhaberman@gmail.com>2016-07-25 01:47:50 -0700
committerGravatar Josh Haberman <jhaberman@gmail.com>2016-07-25 11:09:23 -0700
commit4f19797baf1c874c3aa03202908178ec66d7b45c (patch)
tree7575437da2c68f8b89aa0e47883e5c0674f59b3e /ruby/Rakefile
parent06220303323f3cce425706540defcd7a29d42ec2 (diff)
Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
This brings us more into line with other langauges, and makes it more obvious when we are requiring protobuf generated code.
Diffstat (limited to 'ruby/Rakefile')
-rw-r--r--ruby/Rakefile2
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}"