Sha256: df9dbd5a4251b2710cd996c2da987d36a062c979e630cf9706f21bc1200bdfe3
Contents?: true
Size: 639 Bytes
Versions: 1
Compression:
Stored size: 639 Bytes
Contents
module Pod class Specification def empty_source_files? unless subspecs.empty? # return early if there are some files in subpec(s) but process the spec itself return false unless subspecs.all?(&:empty_source_files?) end check = lambda do |patterns| patterns = [patterns] if patterns.is_a?(String) patterns.reject(&:empty?).all? do |pattern| Xcodeproj::Constants::HEADER_FILES_EXTENSIONS.any? { |ext| pattern.end_with?(ext) } end end available_platforms.all? do |platform| check.call(consumer(platform).source_files) end 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/podspec.rb |