Class: XCCache::Command::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/xccache/command/base.rb

Constant Summary collapse

SDK =
["--sdk=foo,bar", "SDKs (iphonesimulator, iphoneos, macos, etc.)"].freeze
CONFIG =
["--config=foo", "Configuration (debug, release) (default: debug)"].freeze
MERGE_SLICES =
[
  "--merge-slices/--no-merge-slices",
  "Whether to merge with existing slices/sdks in the xcframework (default: true)",
].freeze
LIBRARY_EVOLUTION =
[
  "--library-evolution/--no-library-evolution",
  "Whether to enable library evolution (build for distribution) (default: false)",
].freeze

Class Method Summary collapse

Class Method Details

.build_optionsObject



21
22
23
# File 'lib/xccache/command/base.rb', line 21

def self.build_options
  install_options + [MERGE_SLICES, LIBRARY_EVOLUTION]
end

.install_optionsObject



17
18
19
# File 'lib/xccache/command/base.rb', line 17

def self.install_options
  [SDK, CONFIG]
end