Class: XCCache::Installer::Rollback

Inherits:
XCCache::Installer show all
Defined in:
lib/xccache/installer/rollback.rb

Instance Method Summary collapse

Methods inherited from XCCache::Installer

#initialize, #lockfile, #perform_install, #projects, #save_projects, #sync_lockfile, #update_projects

Methods included from SupportingFilesIntegrationMixin

#gen_supporting_files

Methods included from BuildIntegrationMixin

#build, #targets_to_build

Methods included from DescsIntegrationMixin

#binary_targets, #dependency_targets_of_products, #desc_of, #targets_of_products, #xccache_desc

Methods included from VizIntegrationMixin

#gen_cachemap_viz

Methods included from PkgMixin

#proxy_pkg, #umbrella_pkg

Methods included from Config::Mixin

#config

Constructor Details

This class inherits a constructor from XCCache::Installer

Instance Method Details

#install!Object



4
5
6
7
8
9
10
# File 'lib/xccache/installer/rollback.rb', line 4

def install!
  update_projects do |project|
    UI.section("Rolling back cache for project #{project.display_name}".bold.green) do
      rollback_for_project(project)
    end
  end
end