Sha256: 8f23fe751592c1cd1824f22cd432c37372919700b89e8bcc3d2898e0a0e55169

Contents?: true

Size: 948 Bytes

Versions: 21

Compression:

Stored size: 948 Bytes

Contents

require 'cocoapods-bb-PodAssistant/config/source_manager'
require 'cocoapods-bb-PodAssistant/helpers/git_cmd_helper'
require 'cocoapods-bb-PodAssistant/helpers/stable_env_helper'
require 'cocoapods'

module Pod
  class Command
    class Stable < Command
      class Sync < Stable

        self.summary = '[同步远端yml配置,更新所有公共组件标签库版本] sync a Stable yml config file'

        self.description = <<-DESC
          同步远端stable yml配置文件,并对本地文件进行合并操作
        DESC

        def initialize(argv)
          super
        end

        def run
          puts "开始合并远端stable yml数据".yellow
          # 数据合并
          source_manager = BB::SourceManager.new()
          source_manager.merge_stable_data
          puts "[PodAssistant] `pod stable sync` complete! Please execute the [pod install/ pod update] command".green
        end

      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cocoapods-bb-PodAssistant-0.3.7.1 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.7.0 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.6.2 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.6.1 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.6.0 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.5.2 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.5.1 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.5.0 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.4.3 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.4.2 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.3 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.2 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.1 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.3.0 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.2.6 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.2.5 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.2.4 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.2.3 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.2.2 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.2.1 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb