Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
directory "classes"
directory "tally"
file "bin/tally" => "tally" do
sh "cd tally && rake clobber tally && cd .."
sh "cp tally/tally bin"
task "compile" => "classes" do
sh "javac -d classes #{File.dirname(__FILE__)}/src/*.java"
task "dist" => ["bin/tally", "compile"]
task :default => :dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.