Skip to content

Instantly share code, notes, and snippets.

@abscondment
Created September 6, 2011 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abscondment/1198458 to your computer and use it in GitHub Desktop.
Save abscondment/1198458 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd $HOME/code/jruby
ant clean
ant jar-complete
cd $HOME/code/bitescript
rvm use system
yes | $HOME/code/jruby/bin/jruby -S gem uninstall bitescript
$HOME/code/jruby/bin/jruby -S gem build bitescript.gemspec
$HOME/code/jruby/bin/jruby -S gem install rake
$HOME/code/jruby/bin/jruby -S gem install bundler
$HOME/code/jruby/bin/jruby -S gem install *.gem
cd $HOME/code/mirah
$HOME/code/jruby/bin/jruby -S rake clean jar
$HOME/code/jruby/bin/jruby -S bin/mirahc square.mirah
if [ $? == 0 ];
then
cd $HOME/code/jruby
git bisect good
echo -- GOOD GOOD GOOD GOOD GOOD GOOD --
else
cd $HOME/code/jruby
git bisect bad
echo -- BAD BAD BAD BAD BAD BAD BAD --
fi
cd $HOME/code/mirah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment