|
@@ -104,7 +104,9 @@ genproto_output << "tests/test_ruby_package.rb"
|
|
genproto_output << "tests/test_ruby_package_proto2.rb"
|
|
genproto_output << "tests/test_ruby_package_proto2.rb"
|
|
genproto_output << "tests/basic_test.rb"
|
|
genproto_output << "tests/basic_test.rb"
|
|
genproto_output << "tests/basic_test_proto2.rb"
|
|
genproto_output << "tests/basic_test_proto2.rb"
|
|
|
|
+genproto_output << "tests/multi_level_nesting_test.rb"
|
|
genproto_output << "tests/wrappers.rb"
|
|
genproto_output << "tests/wrappers.rb"
|
|
|
|
+
|
|
file "tests/generated_code.rb" => "tests/generated_code.proto" do |file_task|
|
|
file "tests/generated_code.rb" => "tests/generated_code.proto" do |file_task|
|
|
sh "../src/protoc --ruby_out=. tests/generated_code.proto"
|
|
sh "../src/protoc --ruby_out=. tests/generated_code.proto"
|
|
end
|
|
end
|
|
@@ -137,6 +139,10 @@ file "tests/basic_test_proto2.rb" => "tests/basic_test_proto2.proto" do |file_ta
|
|
sh "../src/protoc -I../src -I. --ruby_out=. tests/basic_test_proto2.proto"
|
|
sh "../src/protoc -I../src -I. --ruby_out=. tests/basic_test_proto2.proto"
|
|
end
|
|
end
|
|
|
|
|
|
|
|
+file "tests/multi_level_nesting_test.rb" => "tests/multi_level_nesting_test.proto" do |file_task|
|
|
|
|
+ sh "../src/protoc -I../src -I. --ruby_out=. tests/multi_level_nesting_test.proto"
|
|
|
|
+end
|
|
|
|
+
|
|
file "tests/wrappers.rb" => "../src/google/protobuf/wrappers.proto" do |file_task|
|
|
file "tests/wrappers.rb" => "../src/google/protobuf/wrappers.proto" do |file_task|
|
|
sh "../src/protoc -I../src -I. --ruby_out=tests ../src/google/protobuf/wrappers.proto"
|
|
sh "../src/protoc -I../src -I. --ruby_out=tests ../src/google/protobuf/wrappers.proto"
|
|
end
|
|
end
|