Sha256: 00a279ce2bbf3cdbd1ad436b3844c54b47177ca761f5a1ef890cd6d3b76ca0b3

Contents?: true

Size: 344 Bytes

Versions: 7

Compression:

Stored size: 344 Bytes

Contents

module Xcake
  module Generator
    class HeaderFileBuildPhase < BuildPhase
      # This build phase generator detects header files
      # and ignores them.
      #
      def self.can_install_node(node)
        File.directory?(node.path) == false &&
        [".h", ".hpp"].include?(File.extname(node.path)) == true
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
xcake-0.3.1 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.3.0 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.1.9 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.1.8 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.1.7 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.1.6 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.1.5 lib/xcake/generator/build_phase/header_file_build_phase.rb