Sha256: 690cd69ad08d466d56e85e5a6c56e5f2ef5e41c8ee006ab49be98c63c170a4e7
Contents?: true
Size: 702 Bytes
Versions: 13
Compression:
Stored size: 702 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" 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
Version data entries
13 entries across 13 versions & 4 rubygems