Sha256: e14e1986c7183fcfc03b3f99a9c1eaf57ce94ff0eb03ac5a1b51eceeaa73504e

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

module Xcake
  class TargetCustomBuildPhaseGenerator < Generator

    def self.dependencies
      [TargetGenerator]
    end

    def visit_target(target)
      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

1 entries across 1 versions & 1 rubygems

Version Path
xcake-0.6.2 lib/xcake/generator/target_custom_build_phase_generator.rb