Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (43 sloc) 0.978 kb
desc 'build and test'
task :default => [:build_and_test]
task :build_and_test do
Rake::Task[:compile].execute
Rake::Task["build"].execute
Rake::Task["test"].execute
end
desc 'Build and install gem'
task :install => :build do
sh "jruby -S gem install #{Dir.glob('*.gem').join(' ')} --no-ri --no-rdoc"
end
desc 'Uninstall gem'
task :uninstall do
sh "gem uninstall -x ruby-processing"
end
desc 'Install jruby-complete'
task :install_jruby_complete do
begin
sh "cd vendors && rake"
rescue
warn("WARNING: you may not have wget installed")
end
end
desc 'Compile'
task :compile do
sh "jruby -S rake --rakefile JRakefile compile"
end
desc 'Build gem'
task :build do
sh "jruby -S gem build ruby-processing.gemspec"
end
desc 'Test'
task :test do
ruby "test/rp5_test.rb"
end
desc 'Clean'
task :clean do
Dir['./**/*.%w{jar gem}'].each do |path|
puts "Deleting #{path} ..."
File.delete(path)
end
FileUtils.rm_rf('./tmp')
end
Jump to Line
Something went wrong with that request. Please try again.