forked from 3rdpartyeve/eaal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
35 lines (27 loc) · 949 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
require 'rubygems'
require 'bundler/setup'
Bundler.require
# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
# Gives us the gem:spec rake task to generate a gemspec file
Hoe.plugin :gemspec
$hoe = Hoe.spec 'eaal' do |p|
p.developer('Peter Petermann', 'ppetermann80@googlemail.com')
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
p.extra_deps = [
['hpricot', '>= 0.6'],
['memcache-client','>= 1.7.1'],
['faraday', '>= 0.8.4']
]
p.extra_dev_deps = [
['hoe'],
['hoe-gemspec']
]
p.clean_globs |= %w[**/.DS_Store tmp *.log]
path = p.name
# p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
p.rsync_args = '-av --delete --ignore-errors'
end
Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
task :default => [:spec, :features]