Sha256: 4117da6ae2d3f8f2f2b87ab6e49b4cc5ababe63e702b211568de31e215d126ac

Contents?: true

Size: 937 Bytes

Versions: 16

Compression:

Stored size: 937 Bytes

Contents

#! /usr/bin/env bash
#
#  script to build gems for all relevant platforms:
#  - MRI et al (standard gem)
#  - windows (x86-mingw32 and x64-mingw32)
#  - jruby
#

# Load RVM into a shell session *as a function*
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
    source "$HOME/.rvm/scripts/rvm"
elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
    source "/usr/local/rvm/scripts/rvm"
else
    echo "ERROR: An RVM installation was not found.\n"
fi

set -o errexit

rm -rf tmp pkg
bundle exec rake clean clobber

# holding pen
rm -rf gems
mkdir -p gems

# windows
bundle exec rake gem:windows
cp -v pkg/nokogiri*{x86,x64}-mingw32*.gem gems

# MRI
bundle exec rake clean
bundle exec rake gem
cp -v pkg/nokogiri*.gem gems

# jruby
bundle exec rake clean clobber
bundle exec rake generate

rvm jruby
gem install bundler --conservative
bundle install --quiet --local || bundle install
bundle exec ruby -S rake gem
cp -v pkg/nokogiri*java.gem gems

Version data entries

16 entries across 13 versions & 3 rubygems

Version Path
tdiary-5.0.11 vendor/bundle/gems/nokogiri-1.8.5/build_all
tdiary-5.0.11 vendor/bundle/gems/nokogiri-1.8.4/build_all
nokogiri-1.8.5 build_all
nokogiri-1.8.5-x86-mingw32 build_all
nokogiri-1.8.5-x64-mingw32 build_all
nokogiri-1.8.4 build_all
nokogiri-1.8.4-x86-mingw32 build_all
nokogiri-1.8.4-x64-mingw32 build_all
nokogiri-1.8.4-java build_all
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/nokogiri-1.8.3/build_all
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/nokogiri-1.8.3/build_all
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.3/build_all
nokogiri-1.8.3 build_all
nokogiri-1.8.3-x86-mingw32 build_all
nokogiri-1.8.3-x64-mingw32 build_all
nokogiri-1.8.3-java build_all