Class: XCCache::Command::Pkg::Build
- Inherits:
-
XCCache::Command::Pkg
- Object
- CLAide::Command
- XCCache::Command
- XCCache::Command::Pkg
- XCCache::Command::Pkg::Build
- Defined in:
- lib/xccache/command/pkg/build.rb
Instance Attribute Summary
Attributes inherited from XCCache::Command
#build_options, #install_options
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Build
constructor
A new instance of Build.
- #run ⇒ Object
Methods inherited from XCCache::Command
Methods included from XCCache::Config::Mixin
Constructor Details
#initialize(argv) ⇒ Build
19 20 21 22 23 24 |
# File 'lib/xccache/command/pkg/build.rb', line 19 def initialize(argv) super @targets = argv.arguments! @out_dir = argv.option("out") @include_checksum = argv.flag?("checksum") end |
Class Method Details
.options ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/xccache/command/pkg/build.rb', line 8 def self. [ *Options., ["--out=foo", "Output directory for the xcframework"], ["--checksum/no-checksum", "Whether to include checksum to the binary name"], ].concat(super) end |