Sha256: b4e30af5adc70e79a7b28d02fdfa3509f8d5ae9ea47aab68db91b96ee6220577
Contents?: true
Size: 506 Bytes
Versions: 12
Compression:
Stored size: 506 Bytes
Contents
module Xcake module Generator # This build phase generator detects source # files and adds them to the compile build phase. # class CompileSourceBuildPhase < BuildPhase 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 end
Version data entries
12 entries across 12 versions & 1 rubygems