forked from jakewendt/html_test
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
59 lines (50 loc) · 1.77 KB
/
Rakefile
File metadata and controls
59 lines (50 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/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