Sha256: c9487a3a2e856b2c57141cd6fbc9ae3b105ffb230bc3c07f6681be90bdf9346f

Contents?: true

Size: 330 Bytes

Versions: 12

Compression:

Stored size: 330 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) &&
          [".h", ".hpp"].include?(File.extname(node.path))
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
xcake-0.5.3 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.5.2 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.5.1 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.5.0 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.4.8 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.4.7 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.4.6 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.4.5 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.4.4 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.4.3 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.4.2 lib/xcake/generator/build_phase/header_file_build_phase.rb
xcake-0.4.1 lib/xcake/generator/build_phase/header_file_build_phase.rb