From e6fa3f9d869765544b8e424e8573fe8d9af35534 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 19 Apr 2016 15:41:33 -0700 Subject: Changed schema for JSON test to be defined in a .proto file. (#54) * Changed schema for JSON test to be defined in a .proto file. Before we had lots of code to build these schemas manually, but this was verbose and made it difficult to add to the schema easily. Now we can just write a .proto file and adding fields is easy. To avoid making the tests depend on upbc (and thus Lua) we check in the generated schema. * Made protobuf-compiler a dependency of "make genfiles." * For genfiles download recent protoc that can handle proto3. * Only use new protoc for genfiles. --- tests/json/test.proto.pb | Bin 0 -> 1883 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/json/test.proto.pb (limited to 'tests/json/test.proto.pb') diff --git a/tests/json/test.proto.pb b/tests/json/test.proto.pb new file mode 100644 index 0000000..5da355d Binary files /dev/null and b/tests/json/test.proto.pb differ -- cgit v1.2.3