Sha256: 28415d3619cfdeda9f29a759772c0d0b11df47b06016605ea79a73d9a0c6d2fd

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the html_test plugin.'
Rake::TestTask.new(:test) do |t|
	t.libs << 'lib'
	t.pattern = 'test/**/*_test.rb'
	t.verbose = true
end

desc 'Generate documentation for the html_test plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
	rdoc.rdoc_dir = 'rdoc'
	rdoc.title		= 'HtmlTest'
	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 |gem|
		gem.name = "jakewendt-html_test"
		gem.summary = %Q{Ruby on Rails plugin for HTML validation and link checking}
		gem.description = %Q{Ruby on Rails plugin for HTML validation and link checking}
		gem.email = "github@jake.otherinbox.com"
		gem.homepage = "http://github.com/jakewendt/html_test"
		gem.authors = ["Peter Marklund", "George 'Jake' Wendt"]
		# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
	end
	Jeweler::GemcutterTasks.new
rescue LoadError
	puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jakewendt-html_test-0.2.3 Rakefile