Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (22 sloc) 0.614 kb
require 'rubygems'
require 'spec'
require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'
require 'lib/placemaker'
desc 'Test the plugin.'
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = ["--format", "progress", "--colour"]
t.libs << 'lib'
t.verbose = true
end
desc "Run all the tests"
task :default => :spec
desc 'Generate documentation'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Placemaker'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/placemaker/**/*.rb')
end
Jump to Line
Something went wrong with that request. Please try again.