-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
30 lines (27 loc) · 918 Bytes
/
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
require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "spy-vs-spy"
s.description = s.summary = "Rack middleware to detect and provide more detail on the requesting user agent edit"
s.email = "[email protected]"
s.homepage = "http://github.com/kuccello/Spy-Vs-Spy"
s.authors = ['Kristan "Krispy" Uccello']
s.files = FileList["[A-Z]*", "{lib,test}/**/*"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/*-test.rb']
t.verbose = true
end
require 'rake/rdoctask'
desc "Generate documentation"
Rake::RDocTask.new do |rd|
rd.main = "README.rdoc"
rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
rd.rdoc_dir = 'rdoc'
end