Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 55 lines (47 sloc) 0.956 kb
#!/bin/sh
for ruby in \
1.8.7-p374\
rbx-2.2.6\
1.9.3-p547\
2.1.5\
2.2.2
do
echo "\n********************************************************************************"
echo "Building $ruby\n"
cd ext/ox
rbenv local $ruby
ruby extconf.rb
make clean
find . -name "*.rbc" -exec rm {} \;
make
echo "\nRunning tests for $ruby"
cd ../../test
rbenv local $ruby
./tests.rb
cd sax
rbenv local $ruby
./sax_test.rb
cd ../..
echo "\n"
done
PATH=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin:$PATH
echo "\n********************************************************************************"
echo "Building OS X Ruby\n"
cd ext/ox
ruby extconf.rb
make clean
make
echo "\nRunning tests for OS X Ruby"
cd ../../test
./tests.rb
./sax/sax_test.rb
cd ..
echo "resetting to 2.2.2\n"
cd ext/ox
rbenv local 2.2.2
cd ../../test
rbenv local 2.2.2
cd sax
rbenv local 2.2.2
cd ../..
echo "\n"
Jump to Line
Something went wrong with that request. Please try again.