Sha256: 2072fb70196ea83f37c0911e1315638f4cf5dc0b05ca233b9abb312e6f78525e

Contents?: true

Size: 371 Bytes

Versions: 3

Compression:

Stored size: 371 Bytes

Contents

require 'rake/rdoctask'

Rake::RDocTask.new do |rdoc|
  version = if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    ''
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "yardstick #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
dkubb-yardstick-0.0.1 tasks/rdoc.rake
dkubb-yardstick-0.1.0 tasks/rdoc.rake
yardstick-0.1.0 tasks/rdoc.rake