Sha256: 3cd721a909f3bcf354ed90811b7112e9c1f57621ffefbeecb962f9910bf1e109

Contents?: true

Size: 860 Bytes

Versions: 40

Compression:

Stored size: 860 Bytes

Contents

# frozen_string_literal: true

# takelage bit clipboard push
module BitClipboardPush
  # Backend method for bit push.
  def bit_clipboard_push
    log.debug 'Running bit push'

    return false unless configured? %w[project_root_dir]

    return false unless _bit_clipboard_lib_prepare_workspace

    _bit_clipboard_push_tag_all
    _bit_clipboard_push_export_all
    _bit_clipbpard_lib_remove_bit_artifacts
    _bit_clipboard_lib_sync_workspace
    _bit_clipboard_lib_bit_status
  end

  private

  # bit tag all components.
  def _bit_clipboard_push_tag_all
    cmd_bit_tag_all =
      config.active['cmd_bit_clipboard_push_bit_tag_all']

    run cmd_bit_tag_all
  end

  # bit export components.
  def _bit_clipboard_push_export_all
    cmd_bit_export_all =
      config.active['cmd_bit_clipboard_push_bit_export_all']

    run cmd_bit_export_all
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
takelage-0.33.1 lib/takelage/bit/clipboard/push.rb
takelage-0.32.4 lib/takelage/bit/clipboard/push.rb
takelage-0.32.3 lib/takelage/bit/clipboard/push.rb
takelage-0.32.1 lib/takelage/bit/clipboard/push.rb
takelage-0.32.0 lib/takelage/bit/clipboard/push.rb
takelage-0.31.0 lib/takelage/bit/clipboard/push.rb
takelage-0.30.6 lib/takelage/bit/clipboard/push.rb
takelage-0.30.5 lib/takelage/bit/clipboard/push.rb
takelage-0.30.1 lib/takelage/bit/clipboard/push.rb
takelage-0.30.0 lib/takelage/bit/clipboard/push.rb
takelage-0.29.14 lib/takelage/bit/clipboard/push.rb
takelage-0.29.13 lib/takelage/bit/clipboard/push.rb
takelage-0.29.11 lib/takelage/bit/clipboard/push.rb
takelage-0.29.10 lib/takelage/bit/clipboard/push.rb
takelage-0.29.8 lib/takelage/bit/clipboard/push.rb
takelage-0.29.6 lib/takelage/bit/clipboard/push.rb
takelage-0.29.0 lib/takelage/bit/clipboard/push.rb
takelage-0.28.26 lib/takelage/bit/clipboard/push.rb
takelage-0.28.24 lib/takelage/bit/clipboard/push.rb
takelage-0.28.14 lib/takelage/bit/clipboard/push.rb