Sha256: 1ac3a407defa6f94f92e6ca63a357ca90f9ebc773fa1a632828d683055f98951
Contents?: true
Size: 700 Bytes
Versions: 5
Compression:
Stored size: 700 Bytes
Contents
require 'rubygems' require 'rake/rdoctask' desc 'Generate documentation for PDF-Filler.' Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'doc/html' rdoc.title = 'pdf_filler' rdoc.options << '--line-numbers' << '--inline-source' rdoc.main = 'README.rdoc' rdoc.rdoc_files.include('LICENSE', 'lib/') end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |t| t.test_files = Dir[ "spec/**/*_spec.rb" ] end rescue LoadError nil end begin require 'rcov/rcovtask' desc 'Runs spec:rcov and then displays the coverage/index.html file in the browser.' task :rcov_display => [:clobber_rcov, :rcov] do system("open coverage/index.html") end rescue LoadError nil end
Version data entries
5 entries across 5 versions & 2 rubygems