Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 29 lines (21 sloc) 485 Bytes
task :compile do
if ENV['DEBUG'] || ENV['debug']
sh "ant", "-DDEBUG=true"
else
sh "ant"
end
end
WIN32OLE_DIR = '../jruby-win32ole/lib'
task :install do
cp 'release/x64/racob-x64.dll', WIN32OLE_DIR
cp 'release/x86/racob-x86.dll', WIN32OLE_DIR
cp 'release/java/racob.jar', WIN32OLE_DIR
end
task :clean do
sh "ant", "clean"
end
task :default => [:compile, :install]
task :debug => [:setdebug, :compile, :install]
task :setdebug do
ENV['DEBUG'] = "true"
end