Sha256: c1899c73666796cbaaaee114bce7e1eb0866c80d157cec18f55f8d7d011aca63
Contents?: true
Size: 787 Bytes
Versions: 1
Compression:
Stored size: 787 Bytes
Contents
require 'cocoapods' module Pod class Installer class InstallationOptions def self.env_option(key, default = true) option key, ENV[key.to_s].nil? ? default : ENV[key.to_s] == 'true' end # 不同 source 存在相同 spec 名时,默认不警告 defaults.delete('warn_for_multiple_pod_sources') env_option :warn_for_multiple_pod_sources, false # 是否警告不安全 source (如 http ) env_option :warn_for_unsecure_source, false # 是否多线程执行 install_pod_sources env_option :install_with_multi_threads, true # 是否多进程执行 update_repositories env_option :update_source_with_multi_threads, false # 并发执行个数 option :multi_threads_count, 4 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-mtxx-bin-0.0.10 | lib/cocoapods-mtxx-bin/native/installation_options.rb |