Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (31 sloc) 876 Bytes
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'java'
require 'hoe'
$: << 'lib'
require 'duby'
task :default => :test :test do |t|
t.libs << "lib"
t.libs << "../jvmscript/lib"
t.test_files = FileList["test/**/*.rb"]
java.lang.System.set_property("jruby.duby.enabled", "true")
# update manifest
files = []
files.concat Dir['bin/*'].to_a
files.concat Dir['lib/**/*.rb'].to_a
files.concat Dir['test/**/*.rb'].to_a
files.concat Dir['examples/**/*.duby'].to_a
files << 'History.txt'
files << 'Manifest.txt'
files << 'README.txt'
files << 'Rakefile'
files << 'javalib/JRubyParser.jar''Manifest.txt', 'w') {|f| f.write(files.join("\n"))}
Hoe.spec 'duby' do
developer('Charles Oliver Nutter', '')
developer('Ryan Brown', '')
extra_deps << ['bitescript', '>= 0.0.4']
Jump to Line
Something went wrong with that request. Please try again.