David L. Jones | d76f8c8 | 2022-04-22 16:58:16 -0700 | [diff] [blame] | 1 | # Protobuf Ruby runtime |
| 2 | # |
| 3 | # See also code generation logic under /src/google/protobuf/compiler/ruby. |
| 4 | |
| 5 | load("@rules_pkg//:mappings.bzl", "pkg_files", "strip_prefix") |
| 6 | |
| 7 | pkg_files( |
| 8 | name = "dist_files", |
| 9 | srcs = glob([ |
| 10 | "compatibility_tests/v3.0.0/**/*", |
| 11 | "ext/google/protobuf_c/*", |
| 12 | "src/main/java/com/google/protobuf/jruby/*.java", |
| 13 | "tests/*.proto", |
| 14 | "tests/*.rb", |
| 15 | ]) + [ |
| 16 | ".gitignore", |
David L. Jones | 95da0ba | 2022-04-29 17:57:55 -0700 | [diff] [blame] | 17 | "BUILD.bazel", |
David L. Jones | d76f8c8 | 2022-04-22 16:58:16 -0700 | [diff] [blame] | 18 | "Gemfile", |
| 19 | "README.md", |
| 20 | "Rakefile", |
| 21 | "google-protobuf.gemspec", |
| 22 | "lib/google/protobuf.rb", |
| 23 | "lib/google/protobuf/descriptor_dsl.rb", |
| 24 | "lib/google/protobuf/message_exts.rb", |
| 25 | "lib/google/protobuf/repeated_field.rb", |
| 26 | "lib/google/protobuf/well_known_types.rb", |
| 27 | "pom.xml", |
| 28 | "src/main/java/google/ProtobufJavaService.java", |
| 29 | "src/main/sentinel.proto", |
| 30 | "travis-test.sh", |
| 31 | ], |
| 32 | strip_prefix = strip_prefix.from_root(""), |
| 33 | visibility = ["//pkg:__pkg__"], |
| 34 | ) |