Sha256: acf807d2d1dc34003ff386b27b4fb84c305f4ca64a7f4cced0e4c399c4173c94
Contents?: true
Size: 984 Bytes
Versions: 1
Compression:
Stored size: 984 Bytes
Contents
module Pod class Installer # Returns the names of pod targets detected as prebuilt, including # those declared in Podfile and their dependencies def prebuilt_pod_names prebuilt_pod_targets.map(&:name) end # Returns the pod targets detected as prebuilt, including # those declared in Podfile and their dependencies def prebuilt_pod_targets @prebuilt_pod_targets ||= begin explicit_prebuilt_pod_names = aggregate_targets .flat_map { |target| target.target_definition.explicit_prebuilt_pod_names } .uniq targets = pod_targets.select { |target| explicit_prebuilt_pod_names.include?(target.pod_name) } dependencies = targets.flat_map(&:recursive_dependent_targets) # Treat dependencies as prebuilt pods all = (targets + dependencies).uniq all = all.reject { |target| sandbox.local?(target.pod_name) } unless PodPrebuild.config.dev_pods_enabled? all end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-binary-cache-0.1.7 | lib/cocoapods-binary-cache/pod-binary/helper/detected_prebuilt_pods/installer.rb |