Class: XCCache::Installer::Use

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

Instance Method Summary collapse

Methods inherited from XCCache::Installer

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

Methods included from PkgMixin

#umbrella_pkg

Methods included from Config::Mixin

#config

Constructor Details

This class inherits a constructor from XCCache::Installer

Instance Method Details

#install!Object



6
7
8
9
10
11
12
13
14
# File 'lib/xccache/installer/use.rb', line 6

def install!
  update_projects do |project|
    perform_install do
      UI.section("Using cache for project #{project.display_name}".bold.green) do
        replace_binaries_for_project(project)
      end
    end
  end
end