diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2018-07-11 16:25:55 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2018-07-11 18:09:37 -0700 |
commit | e529d162838f747362c123ec10e87ebe3970c677 (patch) | |
tree | a92f5abb10a6ae1ec4108d5c98e2e3f528e3696e /kokoro/release/ruby/linux/ruby/ruby_build.sh | |
parent | 82019f90fff5c44477f91084c84b24989a93df7a (diff) | |
download | protobuf-e529d162838f747362c123ec10e87ebe3970c677.tar.gz protobuf-e529d162838f747362c123ec10e87ebe3970c677.tar.bz2 protobuf-e529d162838f747362c123ec10e87ebe3970c677.zip |
Make ruby release configs consistent with protoc.
Diffstat (limited to 'kokoro/release/ruby/linux/ruby/ruby_build.sh')
-rwxr-xr-x | kokoro/release/ruby/linux/ruby/ruby_build.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kokoro/release/ruby/linux/ruby/ruby_build.sh b/kokoro/release/ruby/linux/ruby/ruby_build.sh new file mode 100755 index 00000000..cf6b433d --- /dev/null +++ b/kokoro/release/ruby/linux/ruby/ruby_build.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Build protoc +if test ! -e src/protoc; then + ./autogen.sh + ./configure + make -j4 +fi + +umask 0022 +pushd ruby +bundle install && bundle exec rake gem:native +ls pkg +mv pkg/* $ARTIFACT_DIR +popd |