-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
42 lines (36 loc) · 1.25 KB
/
Rakefile
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
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test ventilation.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib' << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
task :test => :check_dependencies
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "ventilation"
gem.summary = %Q{Fancy ESI integration for your high prefomance web apps.}
gem.description = %Q{Helper methods for building esi tags, simplifies development bypassing the need for varnish.}
gem.email = "[email protected]"
gem.homepage = "http://github.com/agoragames/ventilation"
gem.authors = ["Blake Taylor"]
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
gem.add_development_dependency "fakeweb", ">= 1.2.8"
gem.add_development_dependency "mocha", ">= 0.9.8"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "ventilation #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end