Sha256: 69d81ef045a2e31fb73975a60ac5c339844c4ab50da643d64b9012aa1cfdac96

Contents?: true

Size: 441 Bytes

Versions: 15

Compression:

Stored size: 441 Bytes

Contents

module Xcake
  class TargetCustomBuildPhaseGenerator < Generator

    def self.dependencies
      [TargetGenerator]
    end

    def visit_target(target)
      # TODO: Refactor this system.
      native_target = @context.native_object_for(target)
      target.build_phases.each do |phase|
        puts "Adding custom phase \"#{phase.name}\" for #{target}"
        phase.generate_native_build_phase(native_target)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
xcake-0.6.19 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.18 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.17 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.16 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.14 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.13 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.12 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.11 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.10 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.9 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.8 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.7 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.6 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.5 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.4 lib/xcake/generator/target_custom_build_phase_generator.rb