Sha256: d8cd4ee8f0b975dae12cf2206fe86b40eadabe7a73706ddb4528665a3da121c1

Contents?: true

Size: 790 Bytes

Versions: 15

Compression:

Stored size: 790 Bytes

Contents

# coding: utf-8

require 'fig/command/action'
require 'fig/command/action/role/has_no_sub_action'
require 'fig/command/action/role/publish'
require 'fig/logging'

module  Fig; end
class   Fig::Command; end
module  Fig::Command::Action; end

class Fig::Command::Action::PublishLocal
  include Fig::Command::Action
  include Fig::Command::Action::Role::HasNoSubAction
  include Fig::Command::Action::Role::Publish

  def options()
    return %w<--publish-local>
  end

  def execute()
    publish_preflight()

    Fig::Logging.info "Publishing #{@descriptor.to_string()} locally."
    @execution_context.repository.publish_package(
      @publish_statements,
      @descriptor,
      :publish_local,
      @execution_context.base_package,
      false
    )

    return EXIT_SUCCESS
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
fig-1.27.10 lib/fig/command/action/publish_local.rb
fig-1.27.8 lib/fig/command/action/publish_local.rb
fig-1.27.5 lib/fig/command/action/publish_local.rb
fig-1.27.4 lib/fig/command/action/publish_local.rb
fig-1.27.3 lib/fig/command/action/publish_local.rb
fig-1.27.0 lib/fig/command/action/publish_local.rb
fig-1.26.1.beta.1 lib/fig/command/action/publish_local.rb
fig-1.26.0 lib/fig/command/action/publish_local.rb
fig-1.25.1.beta.1 lib/fig/command/action/publish_local.rb
fig-1.25.0 lib/fig/command/action/publish_local.rb
fig-1.24.1.beta.3 lib/fig/command/action/publish_local.rb
fig-1.24.1.beta.2 lib/fig/command/action/publish_local.rb
fig-1.24.1.beta.1 lib/fig/command/action/publish_local.rb
fig-1.24.0 lib/fig/command/action/publish_local.rb
fig-1.23.1.beta.1 lib/fig/command/action/publish_local.rb