Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 485c0a0e68
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (38 sloc) 1.326 kb
require 'rake'
require 'spec/rake/spectask'
# require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run spec tests.'
task :default => :spec
desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = ['--options', 'spec/spec.opts']
# unless ENV['NO_RCOV']
# t.rcov = true
# t.rcov_dir = 'coverage'
# t.rcov_opts = ['--exclude', 'lib/spec.rb,lib/spec/runner.rb,spec\/spec,bin\/spec,examples,\/var\/lib\/gems,\/Library\/Ruby,\.autotest']
# end
end
desc 'Generate documentation for the html_matchers plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'HtmlMatchers'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "html_matchers"
gemspec.summary = "HTML entity matchers for RSpec"
gemspec.description = "HTML entity matchers for RSpec"
gemspec.email = "stephen@bendyworks.com"
gemspec.homepage = "http://github.com/bendyworks/html_matchers"
gemspec.authors = ["bendycode, helabed, listrophy"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
Jump to Line
Something went wrong with that request. Please try again.