Sha256: 291c1c8c7ce35c4a01efa7d9a337e7d665ce5af5706b99f636fcd58a80705fb7
Contents?: true
Size: 703 Bytes
Versions: 4
Compression:
Stored size: 703 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 = 'scoped_search' 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
4 entries across 4 versions & 1 rubygems