Sha256: 45c1fc096838f1e76bb20b7c12ba886d7d8b04cd38967dd4100ff903d40115d7
Contents?: true
Size: 656 Bytes
Versions: 1
Compression:
Stored size: 656 Bytes
Contents
module Xcake class SchemeGenerator < Generator def self.dependencies [TargetGenerator, ConfigurationGenerator] end def visit_project(_project) EventHooks.run_hook :before_adding_user_schemes end def visit_target(target) scheme_list = @context.scheme_list native_target = @context.native_object_for(target) scheme_list.create_schemes_for_target(native_target) unless native_target.test_target_type? end def leave_project(project) scheme_list = @context.scheme_list native_project = @context.native_object_for(project) scheme_list.save(native_project.path) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xcake-0.8.1 | lib/xcake/generator/scheme_generator.rb |