Sha256: cbbfc5f9c3d18929130e32d63fcdb70c2bf907d320d96f4e9946a4fc06bc4d98

Contents?: true

Size: 323 Bytes

Versions: 4

Compression:

Stored size: 323 Bytes

Contents

class Cartage
  class PackCommand < Command #:nodoc:
    def initialize(cartage)
      super(cartage, 'pack', takes_commands: false)

      Cartage.common_build_options(options, cartage)
      short_desc('Create a package with Cartage based on the Manifest.')
    end

    def perform
      @cartage.pack
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cartage-1.2 lib/cartage/pack_command.rb
cartage-1.1.1 lib/cartage/pack_command.rb
cartage-1.1 lib/cartage/pack_command.rb
cartage-1.0 lib/cartage/pack_command.rb