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 SupportingFilesIntegrationMixin
Methods included from BuildIntegrationMixin
Methods included from DescsIntegrationMixin
#binary_targets, #dependency_targets_of_products, #desc_of, #targets_of_products, #xccache_desc
Methods included from VizIntegrationMixin
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 21 22 |
# File 'lib/xccache/installer/build.rb', line 11 def install! perform_install do build( targets: @targets, out_dir: config.spm_cache_dir, symlinks_dir: config.spm_binaries_dir, checksum: true, **@build_options, ) proxy_pkg.gen_proxy # Regenerate proxy to apply new cache after build end end |