module Xcake module Generator # This build phase generator detects # files and adds them to the copy resources phase. # class CopyResourcesBuildPhase < BuildPhase def self.can_install_node(node) !File.directory?(node.path) end def add_file_reference_to_target(file_reference, target) target.resources_build_phase.add_file_reference(file_reference) end end end end