lib/minke/tasks/build.rb in minke-1.10.0 vs lib/minke/tasks/build.rb in minke-1.11.0

- old
+ new

@@ -2,17 +2,15 @@ module Tasks class Build < Task def run args = nil puts "## Build application" - run_with_block do - if @generator_settings.build_settings.build_commands.build != nil - - @generator_settings.build_settings.build_commands.build.each do |command| + if @generator_config.build_settings.build_commands.build != nil + run_with_block do + @generator_config.build_settings.build_commands.build.each do |command| puts command.to_s - run_command_in_container command + run_command_in_container command end - end end end end