aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/Rakefile
diff options
context:
space:
mode:
authorGravatar Josh Haberman <jhaberman@gmail.com>2016-07-25 00:29:47 -0700
committerGravatar Josh Haberman <jhaberman@gmail.com>2016-07-25 15:16:23 -0700
commit6d92233e726bb8ab8154229b7c9df74473eb06a1 (patch)
treeaa3e962a9e7d563bc1a98b6e411ab0744ee618a2 /ruby/Rakefile
parent6cab568e0b7fad2abe09b2202b4ca467ae31ee08 (diff)
Added unit test for PascalCasing package names in Ruby.
Diffstat (limited to 'ruby/Rakefile')
-rw-r--r--ruby/Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/ruby/Rakefile b/ruby/Rakefile
index f6354e1e..ba1cf4cf 100644
--- a/ruby/Rakefile
+++ b/ruby/Rakefile
@@ -80,10 +80,15 @@ end
# Proto for tests.
genproto_output << "tests/generated_code.rb"
+genproto_output << "tests/test_import.rb"
file "tests/generated_code.rb" => "tests/generated_code.proto" do |file_task|
sh "../src/protoc --ruby_out=. tests/generated_code.proto"
end
+file "tests/test_import.rb" => "tests/test_import.proto" do |file_task|
+ sh "../src/protoc --ruby_out=. tests/test_import.proto"
+end
+
task :genproto => genproto_output
task :clean do