Class: Minke::Tasks::Fetch
Instance Method Summary collapse
Methods inherited from Task
#build_address, #copy_assets, #execute_rake_tasks, #initialize, #load_consul_data, #log, #run_command_in_container, #run_steps, #run_with_block, #wait_for_health_check
Constructor Details
This class inherits a constructor from Minke::Tasks::Task
Instance Method Details
#run(args = nil) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/minke/tasks/fetch.rb', line 5 def run args = nil puts "## Update dependencies" puts '### Install gems' @system_runner.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| run_command_in_container command end end end end |