Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 550 Bytes
$:.unshift File.expand_path('lib')
# load given tasks file, reporting errors without failing
def load_tasks(tasks)
load tasks
rescue Exception => exception
$stderr << "** loading #{tasks.sub(File.expand_path('.'),'')} failed: "
case exception
when LoadError
$stderr << "to use, install the gems it requires\n"
$stderr << ([exception.message] + exception.backtrace[0..2]).join("\n ") << "\n\n"
Dir["Rakefile.d/*.rake"].sort.each {|t| load_tasks t}
task :default => :spec
task :ci => ['rcov:verify', 'cucumber']
Something went wrong with that request. Please try again.