Class: XCCache::Installer::Build
- Inherits:
-
XCCache::Installer
- Object
- XCCache::Installer
- XCCache::Installer::Build
- Defined in:
- lib/xccache/installer/build.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Build
constructor
A new instance of Build.
- #install! ⇒ Object
Methods inherited from XCCache::Installer
#lockfile, #perform_install, #projects, #save_projects, #sync_lockfile, #update_projects
Methods included from PkgMixin
Methods included from Config::Mixin
Constructor Details
#initialize(options = {}) ⇒ Build
Returns a new instance of Build.
6 7 8 9 |
# File 'lib/xccache/installer/build.rb', line 6 def initialize( = {}) super @targets = [:targets] end |
Instance Method Details
#install! ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/xccache/installer/build.rb', line 11 def install! perform_install do umbrella_pkg.build( targets: @targets, out_dir: config.spm_cache_dir, checksum: true, **, ) end end |