1#!/bin/bash 2 3set -ex 4 5# Build protoc 6if test ! -e src/protoc; then 7 ./autogen.sh 8 ./configure 9 make -j4 10fi 11 12umask 0022 13pushd ruby 14gem install bundler -v 2.1.4 15bundle update && bundle exec rake gem:native 16ls pkg 17mv pkg/* $ARTIFACT_DIR 18popd 19