Sha256: 8b1de78265997dde02e1836368d69fd4940d1fe7bfc9f573c787561088d02aec

Contents?: true

Size: 309 Bytes

Versions: 18

Compression:

Stored size: 309 Bytes

Contents

class Kamal::Commands::Server < Kamal::Commands::Base
  def ensure_run_directory
    make_directory config.run_directory
  end

  def remove_app_directory
    remove_directory config.app_directory
  end

  def app_directory_count
    pipe \
      [ :ls, config.apps_directory ],
      [ :wc, "-l" ]
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
kamal-2.4.0 lib/kamal/commands/server.rb
nocoffee-kamal-2.3.0.3 lib/kamal/commands/server.rb
nocoffee-kamal-2.3.0.2 lib/kamal/commands/server.rb
nocoffee-kamal-2.3.0.1 lib/kamal/commands/server.rb
kamal-2.3.0 lib/kamal/commands/server.rb
kamal-2.2.2 lib/kamal/commands/server.rb
kamal-2.2.1 lib/kamal/commands/server.rb
kamal-2.2.0 lib/kamal/commands/server.rb
kamal-2.1.2 lib/kamal/commands/server.rb
kamal-2.1.1 lib/kamal/commands/server.rb
kamal-2.1.0 lib/kamal/commands/server.rb
kamal-2.0.0 lib/kamal/commands/server.rb
kamal-2.0.0.rc4 lib/kamal/commands/server.rb
kamal-2.0.0.rc3 lib/kamal/commands/server.rb
kamal-2.0.0.rc2 lib/kamal/commands/server.rb
kamal-2.0.0.rc1 lib/kamal/commands/server.rb
kamal-2.0.0.beta2 lib/kamal/commands/server.rb
kamal-2.0.0.beta1 lib/kamal/commands/server.rb