Class: XCBuildFaster::ProjectModifier
- Inherits:
-
Object
- Object
- XCBuildFaster::ProjectModifier
- Defined in:
- lib/xcbuildfaster/project_modifier.rb
Instance Method Summary collapse
- #go! ⇒ Object
-
#initialize(root_project_path, ignored_subprojects = []) ⇒ ProjectModifier
constructor
root_project_path.
Constructor Details
#initialize(root_project_path, ignored_subprojects = []) ⇒ ProjectModifier
root_project_path
6 7 8 9 |
# File 'lib/xcbuildfaster/project_modifier.rb', line 6 def initialize(root_project_path, ignored_subprojects =[]) @root_project = Xcodeproj::Project.open(root_project_path) @ignored_subprojects = ignored_subprojects end |
Instance Method Details
#go! ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/xcbuildfaster/project_modifier.rb', line 11 def go! puts "Modifying project: #{@root_project}" if @ignored_subprojects.count > 0 puts "Ignoring subprojects: #{@ignored_subprojects}" end recursively_fastify(@root_project) puts "\nProject(s) successfully modified." puts "WARNING: Modified projects have had build phases removed & build settings changed. You probably don't want to commit any of these changes." end |