lib/fulmar/domain/service/application_service.rb in fulmar-1.6.0 vs lib/fulmar/domain/service/application_service.rb in fulmar-1.6.1

- old
+ new

@@ -27,9 +27,16 @@ def define_task(task_class, *args, &block) super(task_class, *args, &wrap_environment(&block)) end + def raw_load_rakefile + glob("#{fulmar_task_dir}/initialization/*.rake") do |name| + Rake.load_rakefile name + end + super + end + def wrap_environment proc do |t, args| configuration = Fulmar::Domain::Service::ConfigurationService.instance environment = configuration.environment target = configuration.target