Module: Pod::SPM::MacroConfigMixin
- Includes:
- Config::Mixin
- Included in:
- MacroFetcher, MacroPrebuilder
- Defined in:
- lib/cocoapods-spm/macro/config.rb
Instance Method Summary collapse
- #macro_dir ⇒ Object
- #macro_downloaded_dir ⇒ Object
- #macro_prebuilt_dir ⇒ Object
- #metadata ⇒ Object
- #metadata_path ⇒ Object
Methods included from Config::SPMConfigMixin
Methods included from Config::PodConfigMixin
Methods included from Config::ProjectConfigMixin
Instance Method Details
#macro_dir ⇒ Object
10 11 12 |
# File 'lib/cocoapods-spm/macro/config.rb', line 10 def macro_dir @macro_dir ||= spm_config.macro_root_dir / name end |
#macro_downloaded_dir ⇒ Object
6 7 8 |
# File 'lib/cocoapods-spm/macro/config.rb', line 6 def macro_downloaded_dir spm_config.macro_downloaded_root_dir / name end |
#macro_prebuilt_dir ⇒ Object
14 15 16 |
# File 'lib/cocoapods-spm/macro/config.rb', line 14 def macro_prebuilt_dir spm_config.macro_prebuilt_root_dir / name end |
#metadata ⇒ Object
22 23 24 |
# File 'lib/cocoapods-spm/macro/config.rb', line 22 def ||= MacroMetadata.for_pod(name) end |
#metadata_path ⇒ Object
18 19 20 |
# File 'lib/cocoapods-spm/macro/config.rb', line 18 def macro_dir / "metadata.json" end |