Sha256: e4445abcdfcb363ba544dff0161c10f1aea6a4cfbcd368115d5898cafea633d3
Contents?: true
Size: 766 Bytes
Versions: 4
Compression:
Stored size: 766 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test it!' Rake::TestTask.new(:test) do |t| t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate RDoc documentation' Rake::RDocTask.new(:rdoc) do |rdoc| files = ['README', 'LICENSE', 'lib/**/*.rb'] rdoc.rdoc_files.add(files) rdoc.main = "README" # page to start on rdoc.title = "ambition" rdoc.template = File.exists?(t="/Users/chris/ruby/projects/err/rock/template.rb") ? t : "/var/www/rock/template.rb" rdoc.rdoc_dir = 'doc' # rdoc output folder rdoc.options << '--inline-source' end desc 'Generate coverage reports' task :rcov do `rcov -e gems test/*_test.rb` puts 'Generated coverage reports.' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cheat-1.3.3 | lib/ambition/Rakefile |
cheat-1.3.2 | lib/ambition/Rakefile |
cheat-1.3.1 | lib/ambition/Rakefile |
cheat-1.3.0 | lib/ambition/Rakefile |