Sha256: 9a88b1dec57f2e7214107874bacff83dc6b2072d9a7bbd46b1204349e894a6ee
Contents?: true
Size: 876 Bytes
Versions: 1
Compression:
Stored size: 876 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' Rake::TestTask.new do |t| t.libs << 'test' end desc "Run tests" task :default => :test require 'yard' require 'yard/rake/yardoc_task' project_root = File.expand_path(File.dirname(__FILE__)) doc_destination = File.join(project_root, 'doc') YARD::Rake::YardocTask.new(:generate) do |yt| yt.files = Dir.glob(File.join(project_root, 'lib', '**', '*.rb')) + [ File.join(project_root, 'README.md') ] yt.options = ['--output-dir', doc_destination, '--readme', 'README.md'] end # Rake::RDocTask.new(:rdoc) do |rdoc| # rdoc.rdoc_dir = 'doc' # rdoc.main = 'README.md' # # rdoc.rdoc_files.include 'README.md', 'CHANGELOG.txt', "config/**/*\.rb", "helpers/**/*\.rb", "script/**/*\.rb" # rdoc.rdoc_files.include 'README.md', "lib/**/*\.rb" # rdoc.options << '--line-numbers' # rdoc.options << '--all' # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stress_reporter-0.0.5 | Rakefile |