Sha256: c2196946d1389f49845a99f09972a9655ff619892fdb916a5705a2929582f248
Contents?: true
Size: 579 Bytes
Versions: 3
Compression:
Stored size: 579 Bytes
Contents
module Pod class Specification # TODO: this detect objc lib as empty source, eg. Realm def empty_source_files? return subspecs.all?(&:empty_source_files?) unless subspecs.empty? 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
3 entries across 3 versions & 1 rubygems