-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
34 lines (28 loc) · 985 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
%w[rubygems rake rake/clean hoe fileutils newgem rubigen].each { |f| require f }
['/lib/bumps_core', 'environment'].each do |f|
require File.expand_path(File.join(File.dirname(__FILE__) , f))
end
Hoe.spec 'bumps' do
self.version = Bumps::VERSION
developer 'Brent Snook', 'brent@fuglylogic.com'
self.readme_file = 'README.rdoc'
self.clean_globs |= %w[**/.DS_Store tmp *.log]
self.rsync_args = '-av --delete --ignore-errors' # is this needed?
self.extra_deps = [
['cucumber', '>= 0.3.104'],
['json', '>=1.4.3']
]
self.extra_dev_deps = [
['rspec', '>= 1.2.8'],
['newgem', ">= #{::Newgem::VERSION}"],
['sinatra', '>=0.9.4'],
]
end
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = "features --format pretty"
end
task :features => :create_tmp
require 'newgem/tasks' # load /tasks/*.rake
Dir['tasks/**/*.rake'].each { |t| load t }
task :default => [:spec, :features]