Sha256: e0ddd376fce2e53083266a871a10e6f6d80b649009224fdebe67f319239ad610
Contents?: true
Size: 774 Bytes
Versions: 43
Compression:
Stored size: 774 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test the will_paginate plugin.' Rake::TestTask.new(:test) do |t| t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate RDoc documentation for the will_paginate plugin.' 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 = "will_paginate" templates = %w[/Users/chris/ruby/projects/err/rock/template.rb /var/www/rock/template.rb] rdoc.template = templates.find { |t| File.exists? t } rdoc.rdoc_dir = 'doc' # rdoc output folder rdoc.options << '--inline-source' rdoc.options << '--charset=UTF-8' end
Version data entries
43 entries across 43 versions & 2 rubygems