Permalink
Browse files

Add compile-test.sh

Simple Bash script to see if the extension builds without errors under
different versions of Ruby.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
  • Loading branch information...
1 parent bd1c00b commit 46647fab8ee40dff2852e8cd5e95bfde5d81555e @wincent committed Mar 23, 2010
Showing with 10 additions and 0 deletions.
  1. +10 −0 compile-test.sh
View
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+cd ruby/command-t
+for RUBY_VERSION in $(ls ~/.multiruby/install); do
+ echo "$RUBY_VERSION: building"
+ export PATH=~/.multiruby/install/$RUBY_VERSION/bin:$PATH
+ ruby extconf.rb
+ make clean
+ make
+ echo "$RUBY_VERSION: finished"
+done

0 comments on commit 46647fa

Please sign in to comment.