Sha256: faf0fd1adecefb8a32fae3ef61b4c84122e5fb2bc72d2992d7effac92c67d24c
Contents?: true
Size: 1.86 KB
Versions: 1
Compression:
Stored size: 1.86 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 = "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@jakewendt.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 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*'] gem.files -= FileList['rails/init.rb*'] gem.files -= FileList['coverage/**/*'] 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.3.5 | Rakefile |