-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
37 lines (31 loc) · 813 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
31
32
33
34
35
36
37
require 'rake'
require 'rake/testtask'
require 'rubygems'
require 'hoe'
require './lib/simplerdb.rb'
task :default => [:test]
class Hoe
def extra_deps
@extra_deps.reject! do |x|
Array(x).first == 'hoe'
end
@extra_deps
end
end
Hoe.new('simplerdb', SimplerDB::VERSION) do |p|
p.rubyforge_name = 'simplerdb'
p.author = 'Gary Elliott'
p.email = '[email protected]'
p.summary = "Test your SimpleDB application offline"
p.description = p.summary
p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
p.remote_rdoc_dir = '' # Release to root
p.version = SimplerDB::VERSION
p.extra_deps << ['dhaka', '>= 2.2.1']
p.extra_deps << ['builder', '>= 2.0']
end
Rake::TestTask.new do |t|
t.libs << "lib"
t.test_files = FileList['test/*test.rb']
t.verbose = true
end