Sha256: 386fe766437dd47e4cbbf310905c8ba43b958f503ed556ba03b5357e77f589ca
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
require "bundler/gem_tasks" require 'rspec/core/rake_task' desc "compile libsvm.jar from sources" task :compile do Dir.chdir('java') do print `javac libsvm/*.java` print `jar cvf libsvm.jar libsvm/*.class libsvm/*.java COPYRIGHT` end FileUtils.rm_r Dir['java/libsvm/*.class'] FileUtils.mv 'java/libsvm.jar','lib/java/libsvm.jar' p "lib/java/libsvm.jar generated" end RSpec::Core::RakeTask.new('spec') task :default => :spec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jrb-libsvm-0.1.2-java | Rakefile |