Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reordering the build_all script.

  • Loading branch information...
commit e1a08b602dc4c27d59cebf37051d29fdf540070f 1 parent a3e29ba
@flavorjones flavorjones authored
Showing with 16 additions and 17 deletions.
  1. +16 −17 build_all
View
33 build_all
@@ -90,8 +90,23 @@ bundle exec rake clean
rm -rf gems
mkdir -p gems
-# windows
+# MRI
+bundle exec rake clean
+bundle exec rake gem
+cp -v pkg/nokogiri*.gem gems
+
+# jruby
+rvm_use jruby
+gem install bundler --conservative
+bundle install --quiet --local || bundle install
+bundle exec rake clean clobber
+rvm_use $DEFAULT_RUBY
+bundle exec rake generate
+rvm_use jruby
+bundle exec rake gem
+cp -v pkg/nokogiri*java.gem gems
+# windows
for verspec in `cross_rubies`; do
version="${verspec%%:*}"
ver="${version%%-*}"
@@ -112,19 +127,3 @@ done
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 # should only be one at this point in the script
-
-# jruby
-rvm_use jruby
-gem install bundler --conservative
-bundle install --quiet --local || bundle install
-bundle exec rake clean clobber
-rvm_use $DEFAULT_RUBY
-bundle exec rake generate
-rvm_use jruby
-bundle exec rake gem
-cp -v pkg/nokogiri*java.gem gems
Please sign in to comment.
Something went wrong with that request. Please try again.