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 14bundle install && bundle exec rake gem:native 15ls pkg 16mv pkg/* $ARTIFACT_DIR 17popd 18