Sha256: 73dac313dbb78fcf24febf7768ca28cd250b9f1b89d354547db8353d706cc9c2

Contents?: true

Size: 614 Bytes

Versions: 27

Compression:

Stored size: 614 Bytes

Contents

require 'rake'
require 'rdoc/task'
require 'rake/testtask'

RUBY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
RUBYDOCTEST = ENV['RUBYDOCTEST'] || "#{RUBY} -S rubydoctest"

# --- Testing --- #

namespace "test" do
  desc "Run the doctests"
  task :doctest do |t|
    files=Dir['test/**/*.rdoctest'].map {|f| File.expand_path(f)}.join(' ')
    exit(1) if !system("#{RUBYDOCTEST} #{files}")
  end
end

# --- RDOC --- #

require 'rubygems'
require 'yard'
YARD::Rake::YardocTask.new do |t|
  t.files = ['lib/**/*.rb', 'README', 'LICENSE.txt', 'CHANGES.txt']
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
dryml-2.0.0.pre6 Rakefile
dryml-2.0.0.pre5 Rakefile
dryml-2.0.0.pre4 Rakefile
dryml-2.0.0.pre3 Rakefile
dryml-2.0.0.pre2 Rakefile
dryml-2.0.0.pre1 Rakefile
dryml-1.4.0.pre8 Rakefile