Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 444 Bytes
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
require 'rake'
Graylog2WebInterface::Application.load_tasks
def trap_load_error
yield
rescue LoadError
# do nothing
end
trap_load_error { require 'metric_fu' }
trap_load_error { require 'ci/reporter/rake/test_unit' }