Skip to content
This repository
Browse code

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...
commit 46647fab8ee40dff2852e8cd5e95bfde5d81555e 1 parent bd1c00b
Greg Hurrell authored March 23, 2010

Showing 1 changed file with 10 additions and 0 deletions. Show diff stats Hide diff stats

  1. 10  compile-test.sh
10  compile-test.sh
... ...
@@ -0,0 +1,10 @@
  1
+#!/bin/sh -e
  2
+cd ruby/command-t
  3
+for RUBY_VERSION in $(ls ~/.multiruby/install); do
  4
+  echo "$RUBY_VERSION: building"
  5
+  export PATH=~/.multiruby/install/$RUBY_VERSION/bin:$PATH
  6
+  ruby extconf.rb
  7
+  make clean
  8
+  make
  9
+  echo "$RUBY_VERSION: finished"
  10
+done

0 notes on commit 46647fa

Please sign in to comment.
Something went wrong with that request. Please try again.