Skip to content

Instantly share code, notes, and snippets.

@pjotrp
Created May 4, 2010 15:17
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 pjotrp/389533 to your computer and use it in GitHub Desktop.
Save pjotrp/389533 to your computer and use it in GitHub Desktop.
#! /bin/sh
classpath=.:/usr/share/java/jruby.jar:~/.scala/jruby-complete-1.5.0.RC1.jar
echo "Compile Rubyadapters"
mkdir -p bio/ruby
cd src/bio/ruby
jrubyc --java rbsequence.rb
echo "package bio.ruby;"|cat - RbSequence.java > x.java && mv x.java RbSequence.java
javac -cp $classpath RbSequence.java
mv RbSequence.class ../../../bio/ruby/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment