Sha256: c8bd9b526aa27086fc9413ba15f5f8ee6146ba59d3387372d9b2712e501190b1

Contents?: true

Size: 304 Bytes

Versions: 22

Compression:

Stored size: 304 Bytes

Contents

module Xcake
  class HeaderFileReferenceInstaller < FileReferenceInstaller
    # This build phase generator detects header files
    # and ignores them.
    #
    def self.can_install_node(node)
      !File.directory?(node.path) &&
        %w(.h .hpp).include?(File.extname(node.path))
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
xcake-0.6.4 lib/xcake/file_reference_installer/header_file_reference_installer.rb
xcake-0.6.2 lib/xcake/file_reference_installer/header_file_reference_installer.rb