Sha256: 078b6db19a3b46c04c6407a802bb4f5dcb17be48c88a94bb78bb45f3ef4cab42

Contents?: true

Size: 450 Bytes

Versions: 7

Compression:

Stored size: 450 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|
        EventHooks.run_hook :before_adding_custom_build_phase, phase, target
        phase.generate_native_build_phase(native_target)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
xcake-0.7.1 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.7.0 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.25 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.24 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.23 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.22 lib/xcake/generator/target_custom_build_phase_generator.rb
xcake-0.6.21 lib/xcake/generator/target_custom_build_phase_generator.rb