Sha256: 86608f6a745b8d11a63bfe0541f56da447646deef8ea4d890f980975954263c0
Contents?: true
Size: 481 Bytes
Versions: 16
Compression:
Stored size: 481 Bytes
Contents
module Xcake # This build phase generator detects source # files and adds them to the compile build phase. # class CompileSourceFileReferenceInstaller < FileReferenceInstaller def self.can_install_node(node) !File.directory?(node.path) && %w(.c .m .mm .cpp .swift).include?(File.extname(node.path)) end def add_file_reference_to_target(file_reference, target) target.source_build_phase.add_file_reference(file_reference) end end end
Version data entries
16 entries across 16 versions & 1 rubygems