Skip to content

Commit

Permalink
Add source files to jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
deannagarcia committed Jan 18, 2023
1 parent f164ae4 commit b10ce37
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions ruby/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ sh_binary(
name = "jruby_release",
data = [
"//ruby/lib/google:copy_jar",
"//ruby/lib/google:dist_files",
"//:well_known_ruby_protos",
"google-protobuf.gemspec",
],
Expand Down
7 changes: 7 additions & 0 deletions ruby/build_jruby_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ cp "$(rlocation com_google_protobuf/src/google/protobuf/wrappers_pb.rb)" lib/goo

cp "$(rlocation com_google_protobuf/ruby/lib/google/protobuf_java.jar)" lib/google

# Move all source files to the correct location
cp "$(rlocation com_google_protobuf/ruby/lib/google/protobuf.rb)" lib/google
cp "$(rlocation com_google_protobuf/ruby/lib/google/protobuf/descriptor_dsl.rb)" lib/google/protobuf
cp "$(rlocation com_google_protobuf/ruby/lib/google/protobuf/message_exts.rb)" lib/google/protobuf
cp "$(rlocation com_google_protobuf/ruby/lib/google/protobuf/repeated_field.rb)" lib/google/protobuf
cp "$(rlocation com_google_protobuf/ruby/lib/google/protobuf/well_known_types.rb)" lib/google/protobuf

# Move gemspec file to current directory
cp "$(rlocation com_google_protobuf/ruby/google.protobuf.gemspec)" .

Expand Down

0 comments on commit b10ce37

Please sign in to comment.