lib/xcake/context/xcodeproj_context.rb in xcake-0.6.20 vs lib/xcake/context/xcodeproj_context.rb in xcake-0.6.21
- old
+ new
@@ -15,34 +15,29 @@
when Configuration
create_object_for_configuration(dsl_object)
when Node
create_object_for_node(dsl_object)
else
- abort 'DSL Object not recognized!'
+ nil
end
end
def create_object_for_project(project)
- puts 'Creating Project...'
-
# TODO: Make setup of project testable
@project = Xcode::Project.new("./#{project.name}.xcodeproj", true)
@project.setup_for_xcake
@project
end
def create_object_for_target(target)
- puts 'Creating Target...'
@project.new_target(target)
end
def create_object_for_configuration(configuration)
- puts 'Creating Configuration...'
@project.new_configuration(configuration)
end
def create_object_for_node(node)
- puts 'Creating Group...'
@project.new_group(node)
end
def file_reference_for_path(path)
@project.reference_for_path(path) || @project.new_file_reference(path)