Sha256: 50fd9668045852bd7ecaefb6d8a03d805de4e7eb95d3a02268108b0d05374947

Contents?: true

Size: 548 Bytes

Versions: 12

Compression:

Stored size: 548 Bytes

Contents

module Minke
  module Tasks
    class Build < Task

      def run args = nil
        @logger.info "## Build application" 

        if  @generator_config.build_settings.build_commands.build != nil
          run_with_block do |pre_tasks, post_tasks|
            pre_tasks.call

            @generator_config.build_settings.build_commands.build.each do |command|
              @logger.debug command.to_s
              run_command_in_container command
            end

            post_tasks.call
          end
        end
      end

    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
minke-1.15.0 lib/minke/tasks/build.rb
minke-1.14.5 lib/minke/tasks/build.rb
minke-1.14.4 lib/minke/tasks/build.rb
minke-1.14.3 lib/minke/tasks/build.rb
minke-1.14.2 lib/minke/tasks/build.rb
minke-1.14.1 lib/minke/tasks/build.rb
minke-1.14.0 lib/minke/tasks/build.rb
minke-1.13.20 lib/minke/tasks/build.rb
minke-1.13.19 lib/minke/tasks/build.rb
minke-1.13.18 lib/minke/tasks/build.rb
minke-1.13.16 lib/minke/tasks/build.rb
minke-1.13.15 lib/minke/tasks/build.rb