Sha256: ac5a9215fc8ccdb37810e5b34a8d6cce3b21bec6e6e1c0842b99c1d1741b6612

Contents?: true

Size: 394 Bytes

Versions: 24

Compression:

Stored size: 394 Bytes

Contents

module Xcake
  class TargetDependencyGenerator < Generator
    def self.dependencies
      [TargetGenerator]
    end

    def visit_target(target)
      native_target = @context.native_object_for(target)
      target.target_dependencies.map do |dep|
        native_dependency = @context.native_object_for(dep)
        native_target.add_dependency(native_dependency)
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
xcake-0.7.1 lib/xcake/generator/target_dependency_generator.rb
xcake-0.7.0 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.25 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.24 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.23 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.22 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.21 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.20 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.19 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.18 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.17 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.16 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.14 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.13 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.12 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.11 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.10 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.9 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.8 lib/xcake/generator/target_dependency_generator.rb
xcake-0.6.7 lib/xcake/generator/target_dependency_generator.rb