Sha256: c422f1b4d9609d203d43ffd7d2e86270bdb0b6a6a6ed49be639aca32c191e1bd

Contents?: true

Size: 906 Bytes

Versions: 3

Compression:

Stored size: 906 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

3 entries across 3 versions & 1 rubygems

Version Path
cocoapods-bb-PodAssistant-0.1.9.2 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.1.9.1 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb
cocoapods-bb-PodAssistant-0.1.8 lib/cocoapods-bb-PodAssistant/command/stable/sync.rb