lib/minke/tasks/build.rb in minke-1.0.1 vs lib/minke/tasks/build.rb in minke-1.0.2

- old
+ new

@@ -3,12 +3,16 @@ class Build < Task def run args = nil puts "## Build application" run_with_block do - @generator_settings.build_settings.build_commands.build.each do |command| - puts command.to_s - run_command_in_container command + if @generator_settings.build_settings.build_commands.build != nil + + @generator_settings.build_settings.build_commands.build.each do |command| + puts command.to_s + run_command_in_container command + end + end end end end