Sha256: 9f19400355260c9a664ea6f2b73c5fc98704bb78e3154a07d6f4d0c22e06ee28

Contents?: true

Size: 1.35 KB

Versions: 6

Compression:

Stored size: 1.35 KB

Contents

require 'cocoapods-bb-PodAssistant/config/source_manager'

module Pod
  class Command
    class Stable < Command
      class Install < Stable
        self.summary = '[命令同执行`pod install操作`] Install project dependencies according to versions from a Podfile.lock'

        self.description = <<-DESC
          Downloads all dependencies defined in `Podfile` and creates an Xcode
          Pods library project in `./Pods`.

          The Xcode project file should be specified in your `Podfile` like this:

              project 'path/to/XcodeProject.xcodeproj'

          If no project is specified, then a search for an Xcode project will
          be made. If more than one Xcode project is found, the command will
          raise an error.

          This will configure the project to reference the Pods static library,
          add a build configuration file, and add a post build script to copy
          Pod resources.

          This may return one of several error codes if it encounters problems.
          * `1` Generic error code
          * `31` Spec not found (i.e out-of-date source repos, mistyped Pod name etc...)
        DESC

        def run
          puts "[PodAssistant] 开始执行 $ pod stable install".yellow
          system "pod install"
          puts "[PodAssistant] `pod stable install` complete!".green
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cocoapods-bb-PodAssistant-0.2.1 lib/cocoapods-bb-PodAssistant/command/stable/install.rb
cocoapods-bb-PodAssistant-0.2.0 lib/cocoapods-bb-PodAssistant/command/stable/install.rb
cocoapods-bb-PodAssistant-0.1.9.2 lib/cocoapods-bb-PodAssistant/command/stable/install.rb
cocoapods-bb-PodAssistant-0.1.9.1 lib/cocoapods-bb-PodAssistant/command/stable/install.rb
cocoapods-bb-PodAssistant-0.1.8 lib/cocoapods-bb-PodAssistant/command/stable/install.rb
cocoapods-bb-PodAssistant-0.1.7 lib/cocoapods-bb-PodAssistant/command/stable/install.rb