lib/minke/tasks/build.rb in minke-1.13.14 vs lib/minke/tasks/build.rb in minke-1.13.15
- old
+ new
@@ -4,14 +4,18 @@
def run args = nil
@logger.info "## Build application"
if @generator_config.build_settings.build_commands.build != nil
- run_with_block do
+ run_with_block do |pre_tasks, post_tasks|
+ pre_tasks.call
+
@generator_config.build_settings.build_commands.build.each do |command|
@logger.debug command.to_s
run_command_in_container command
end
+
+ post_tasks.call
end
end
end
end