Sha256: fc8a1356880a05b9c8384667e272f63818875af879d89e8b91d156480e464255

Contents?: true

Size: 1.75 KB

Versions: 1

Compression:

Stored size: 1.75 KB

Contents

#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

HtmlTest::Application.load_tasks

require 'rake'
require 'rake/testtask'
#require 'rake/rdoctask'
require 'rdoc/task'

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

desc 'Test the html_test plugin.'
Rake::TestTask.new(:test) do |t|
	t.libs << 'test'
	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 = "ccls-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@jakewendt.com"
		gem.homepage = "http://github.com/ccls/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

		gem.files  = FileList['**/*']
		gem.files -= FileList['app/**/*']
		gem.files -= FileList['config/**/*']
		gem.files -= FileList['test/**/*']
		gem.files -= FileList['log/**/*']
		gem.files -= FileList['pkg/**/*']
		gem.files -= FileList['**/versions/**/*']
		gem.files -= FileList['*Gemfile*']
	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
ccls-html_test-0.3.5 Rakefile