Sha256: cf90a26fa0c4b6c0b1741431125980d97018c7a1b1c08dce4099b846676bc2a5

Contents?: true

Size: 624 Bytes

Versions: 2

Compression:

Stored size: 624 Bytes

Contents

require "rake"
require "rake/testtask"
require 'rubygems/package_task'
require "rake/clean"

task :default => :test

CLEAN << "pkg" << "doc" << "coverage" << ".yardoc"
Gem::PackageTask.new(eval(File.read("unidecoder.gemspec"))) { |pkg| }
Rake::TestTask.new(:test) { |t| t.pattern = "test/**/*_test.rb" }

begin
  require "yard"
  YARD::Rake::YardocTask.new do |t|
    t.options = ["--output-dir=doc"]
  end
rescue LoadError
end

begin
  require "rcov/rcovtask"
  Rcov::RcovTask.new do |r|
    r.test_files = FileList["test/**/*_test.rb"]
    r.verbose = true
    r.rcov_opts << "--exclude gems/*"
  end
rescue LoadError
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
talentbox-unidecoder-2.0.0 Rakefile
unidecoder-1.1.2 Rakefile