Class: XCCache::SPM::FrameworkSlice

Inherits:
Buildable
  • Object
show all
Defined in:
lib/xccache/spm/xcframework/slice.rb

Instance Attribute Summary

Attributes inherited from Buildable

#config, #library_evolution, #module_name, #name, #path, #pkg_desc, #pkg_dir, #sdk, #sdks, #tmpdir

Instance Method Summary collapse

Methods inherited from Buildable

#initialize, #pkg_target, #swift_build, #swift_build_args

Constructor Details

This class inherits a constructor from XCCache::SPM::Buildable

Instance Method Details

#build(_options = {}) ⇒ Object



6
7
8
9
10
11
# File 'lib/xccache/spm/xcframework/slice.rb', line 6

def build(_options = {})
  UI.section("Building slice: #{name} (#{config}, #{sdk})".bold) do
    swift_build
    create_framework
  end
end