Merge pull request #3555 from pherl/fixdist
Make distcheck aware of test proto files.
This commit is contained in:
commit
07de70ea2c
@ -561,8 +561,8 @@ protoc_inputs = \
|
||||
google/protobuf/unittest_preserve_unknown_enum.proto \
|
||||
google/protobuf/unittest.proto \
|
||||
google/protobuf/unittest_proto3_arena.proto \
|
||||
google/protobuf/unittest_proto3_arena_lite.proto \
|
||||
google/protobuf/unittest_proto3_lite.proto \
|
||||
google/protobuf/unittest_proto3_arena_lite.proto \
|
||||
google/protobuf/unittest_proto3_lite.proto \
|
||||
google/protobuf/unittest_well_known_types.proto \
|
||||
google/protobuf/util/internal/testdata/anys.proto \
|
||||
google/protobuf/util/internal/testdata/books.proto \
|
||||
@ -583,6 +583,12 @@ EXTRA_DIST = \
|
||||
$(protoc_inputs) \
|
||||
$(js_well_known_types_sources) \
|
||||
solaris/libstdc++.la \
|
||||
google/protobuf/unittest_proto3.proto \
|
||||
google/protobuf/unittest_import_public_proto3.proto \
|
||||
google/protobuf/unittest_import_proto3.proto \
|
||||
google/protobuf/test_messages_proto3.proto \
|
||||
google/protobuf/test_messages_proto2.proto \
|
||||
google/protobuf/map_unittest_proto3.proto \
|
||||
google/protobuf/io/gzip_stream.h \
|
||||
google/protobuf/io/gzip_stream_unittest.sh \
|
||||
google/protobuf/testdata/golden_message \
|
||||
|
2
tests.sh
2
tests.sh
@ -61,7 +61,7 @@ build_cpp_distcheck() {
|
||||
make dist
|
||||
|
||||
# List all files that should be included in the distribution package.
|
||||
git ls-files | grep "^\(java\|python\|objectivec\|csharp\|js\|ruby\|php\|cmake\|examples\)" |\
|
||||
git ls-files | grep "^\(java\|python\|objectivec\|csharp\|js\|ruby\|php\|cmake\|examples\|src/google/protobuf/.*\.proto\)" |\
|
||||
grep -v ".gitignore" | grep -v "java/compatibility_tests" |\
|
||||
grep -v "cmake/protobuf.*\.pc\.cmake" |\
|
||||
grep -v "python/compatibility_tests" | grep -v "csharp/compatibility_tests" > dist.lst
|
||||
|
Loading…
Reference in New Issue
Block a user