Sha256: c3c5caca61fed3ae3865cebb09b3909e4d9921b5f73c7812aae150023fcbefaa

Contents?: true

Size: 331 Bytes

Versions: 23

Compression:

Stored size: 331 Bytes

Contents

module Minke
  module Tasks
    class Run < Task

      def run args = nil
        puts "## Run application with docker compose"

      	begin
          @compose.up

          run_with_block do
            @compose.logs
          end

      	ensure
      		@compose.stop
      		@compose.rm
      	end
      end

    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
minke-1.0.2 lib/minke/tasks/run.rb
minke-1.0.1 lib/minke/tasks/run.rb
minke-1.0.0 lib/minke/tasks/run.rb