Sha256: 31c9fe3f8c84c00c83761677d608ac299e7fcfdd1dd396b1dffad12500692a77
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
module PodPrebuild module BuildOrder def self.order_targets(targets) # It's more efficient to build frameworks that have more dependencies first # so that the build parallelism is ultilized # >> --- MyFramework ----------------------------------| # >> --- ADependency ---| # >> --- AnotherADependency ---| targets.sort_by { |t| -t.recursive_dependent_targets.count } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-binary-cache-0.1.8 | lib/cocoapods-binary-cache/helper/prebuild_order.rb |