Sha256: 52c49370bbc9be8240f7225353e960cf0b96f6d3c4cdd74c2be31265bb7132ca

Contents?: true

Size: 397 Bytes

Versions: 5

Compression:

Stored size: 397 Bytes

Contents

if RUBY_PLATFORM =~ /java/
  # -*- ruby -*-
  require 'rake/javaextensiontask'
  
  Rake::JavaExtensionTask.new('nn') do |ext|
    ext.name = 'nn'
    ext.debug = true
    ext.lib_dir = 'library/nn'
    ext.source_version='1.7'
    ext.target_version='1.7'
  end
end

desc 'clean'
task :clean do
  FileUtils.rm_rf(FileList['tmp', 'library'])
end

desc 'run'
task :run do
  sh `rp5 run xor.rb`
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-processing-2.6.3 samples/external_library/java_processing/custom/Rakefile
ruby-processing-2.6.2 samples/external_library/java_processing/custom/Rakefile
ruby-processing-2.6.1 samples/external_library/java_processing/custom/Rakefile
ruby-processing-2.6.0 samples/external_library/java_processing/custom/Rakefile
ruby-processing-2.5.1 samples/external_library/java_processing/custom/Rakefile