lib/bard/rake.rb in bard-rake-0.9.4 vs lib/bard/rake.rb in bard-rake-0.10.0

- old
+ new

@@ -1,3 +1,8 @@ -require 'bard/rake/bundler' -require 'bard/rake/db' +require 'bard/rake/db_dump_load' +require 'bard/rake/db_migrate_sanity' require 'bard/rake/bootstrap' +require 'bard/rake/testing' + +def invoke_task_if_exists task_name + Rake::Task[task_name].invoke if Rake::Task.task_defined? task_name +end