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.5.9 lib/minke/tasks/run.rb
minke-1.5.8 lib/minke/tasks/run.rb
minke-1.5.7 lib/minke/tasks/run.rb
minke-1.5.6 lib/minke/tasks/run.rb
minke-1.5.5 lib/minke/tasks/run.rb
minke-1.5.4 lib/minke/tasks/run.rb
minke-1.5.3 lib/minke/tasks/run.rb
minke-1.5.2 lib/minke/tasks/run.rb
minke-1.5.1 lib/minke/tasks/run.rb
minke-1.5.0 lib/minke/tasks/run.rb
minke-1.4.0 lib/minke/tasks/run.rb
minke-1.3.0 lib/minke/tasks/run.rb
minke-1.2.0 lib/minke/tasks/run.rb
minke-1.1.0 lib/minke/tasks/run.rb
minke-1.0.9 lib/minke/tasks/run.rb
minke-1.0.8 lib/minke/tasks/run.rb
minke-1.0.7 lib/minke/tasks/run.rb
minke-1.0.6 lib/minke/tasks/run.rb
minke-1.0.5 lib/minke/tasks/run.rb
minke-1.0.4 lib/minke/tasks/run.rb