lib/minke/tasks/fetch.rb in minke-1.10.0 vs lib/minke/tasks/fetch.rb in minke-1.11.0
- old
+ new
@@ -4,15 +4,16 @@
def run args = nil
puts "## Update dependencies"
puts '### Install gems'
- @system_runner.execute('bundle install -j3 && bundle update')
+ @shell_helper.execute('bundle install -j3 && bundle update')
puts '### Install generator dependencies'
- run_with_block do
- if @generator_settings.build_settings.build_commands.fetch != nil
- @generator_settings.build_settings.build_commands.fetch.each do |command|
+
+ if @generator_config.build_settings.build_commands.fetch != nil
+ run_with_block do
+ @generator_config.build_settings.build_commands.fetch.each do |command|
run_command_in_container command
end
end
end
end