Sha256: 01fc951b9aa76790ddba941a3c0557674f191aed7591a0d8259b7bcc9b420562

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 Bytes

Contents

module Minke
  module Tasks
    class Fetch < Task

      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

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minke-1.10.0 lib/minke/tasks/fetch.rb
minke-1.9.9 lib/minke/tasks/fetch.rb
minke-1.9.8 lib/minke/tasks/fetch.rb