Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 21 lines (16 sloc) 0.55 kb
38c7ff3 @ianwhite modular Rakefile, devs can run only what they're interested in withou…
authored
1 $:.unshift File.expand_path('lib')
2
3 # load given tasks file, reporting errors without failing
4 def load_tasks(tasks)
5 load tasks
6 rescue Exception => exception
7 $stderr << "** loading #{tasks.sub(File.expand_path('.'),'')} failed: "
8 case exception
9 when LoadError
10 $stderr << "to use, install the gems it requires\n"
11 else
12 $stderr << ([exception.message] + exception.backtrace[0..2]).join("\n ") << "\n\n"
d360c29 @ianwhite Initial release of pickle (Expermental: in development)
authored
13 end
14 end
15
38c7ff3 @ianwhite modular Rakefile, devs can run only what they're interested in withou…
authored
16 Dir["Rakefile.d/*.rake"].sort.each {|t| load_tasks t}
d360c29 @ianwhite Initial release of pickle (Expermental: in development)
authored
17
38c7ff3 @ianwhite modular Rakefile, devs can run only what they're interested in withou…
authored
18 task :default => :spec
3f86753 @ianwhite Preparing for gem release
authored
19
2d62670 @ianwhite Automatically create a rails app for running cucumber when required
authored
20 task :ci => ['rcov:verify', 'cucumber']
Something went wrong with that request. Please try again.