nicholasjackson/minke

View on GitHub
lib/minke/tasks/test.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Minke
  module Tasks
    class Test < Task

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

        run_with_block do |pre_tasks, post_tasks|
          pre_tasks.call
          
          @generator_config.build_settings.build_commands.test.each do |command|
              run_command_in_container command
          end

          post_tasks.call
        end
      end

    end
  end
end