From 6d92233e726bb8ab8154229b7c9df74473eb06a1 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Mon, 25 Jul 2016 00:29:47 -0700 Subject: Added unit test for PascalCasing package names in Ruby. --- ruby/Rakefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ruby/Rakefile') 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 -- cgit v1.2.3