lib/minke/tasks/task_runner.rb in minke-1.13.9 vs lib/minke/tasks/task_runner.rb in minke-1.13.10
- old
+ new
@@ -4,10 +4,11 @@
def initialize args
@rake_helper = args[:rake_helper]
@copy_helper = args[:copy_helper]
@service_discovery = args[:service_discovery]
+ @logger = args[:logger_helper]
end
##
# execute the defined steps in the given Minke::Config::TaskRunSettings
def run_steps steps
@@ -23,11 +24,14 @@
end
##
# copys the assets defined in the step
def copy_assets assets
- assets.each { |a| @copy_helper.copy_assets a.from, a.to }
+ assets.each do |a|
+ @logger.debug "Copy #{a.from} To #{a.to}"
+ @copy_helper.copy_assets a.from, a.to
+ end
end
end
end
-end
\ No newline at end of file
+end