Sha256: d13f4c3653ddcd3dad6735955bfbdbbe142455882747d9ae7bdda6f13d2a43e5

Contents?: true

Size: 936 Bytes

Versions: 58

Compression:

Stored size: 936 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-1.7.19
gem install bundler --conservative
bundle install --quiet --local || bundle install
bundle exec rake gem
cp -v pkg/nokogiri*java.gem gems

Version data entries

58 entries across 54 versions & 7 rubygems

Version Path
daslabs-0.12.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
daslabs-0.11.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
tdiary-5.0.9 vendor/bundle/gems/nokogiri-1.8.2/build_all
tdiary-5.0.8 vendor/bundle/gems/nokogiri-1.8.2/build_all
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/nokogiri-1.8.1/build_all
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
daslabs-0.10.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
daslabs-0.9.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
daslabs-0.8.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
daslabs-0.7.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
daslabs-0.6.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
daslabs-0.5.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
daslabs-0.4.0 vendor/cache/ruby/2.5.0/gems/nokogiri-1.8.2/build_all
nokogiri-1.8.2 build_all
nokogiri-1.8.2-x86-mingw32 build_all
nokogiri-1.8.2-x64-mingw32 build_all
tdiary-5.0.7 vendor/bundle/gems/nokogiri-1.8.1/build_all
pract6-0.1.0 .gem/ruby/2.3.0/gems/nokogiri-1.8.1/build_all
tdiary-5.0.6 vendor/bundle/gems/nokogiri-1.8.1/build_all
nokogiri-1.8.1 build_all