Sha256: 00278ce6fa5b716ea2a9fbc56778a1c9a81e750ec4caa06f5415de55b766706e

Contents?: true

Size: 436 Bytes

Versions: 2

Compression:

Stored size: 436 Bytes

Contents

require 'cartage/command'

class Cartage::Remote::Command < Cartage::Command #:nodoc:
  def initialize(cartage)
    super(cartage, 'remote')
    takes_commands(false)
    short_desc('Build a release package and upload to cloud storage.')

    @cartage = cartage
    @remote = cartage.remote

    Cartage.common_build_options(options, cartage)
  end

  def perform(*)
    @remote.build
  end

  def with_plugins
    %w(remote)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cartage-remote-1.1 lib/cartage/remote/command.rb
cartage-remote-1.0 lib/cartage/remote/command.rb