Sha256: b9a355f2b9444c611c41251aa56a83787823ec2998cd71adbd1093e6d3a44e3e

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList["test/**/test_*.rb"]
end

if RUBY_ENGINE == "jruby"
  require "rake/javaextensiontask"
  Rake::JavaExtensionTask.new("nkf") do |ext|
    ext.source_version = "1.8"
    ext.target_version = "1.8"
    ext.ext_dir = "ext/java"
  end

  task :build => :compile
else
  require 'rake/extensiontask'
  Rake::ExtensionTask.new("nkf")
end

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nkf-0.2.0-java Rakefile
nkf-0.2.0 Rakefile