Module: Pod::SPM::MacroConfigMixin
Instance Method Summary
collapse
#local_macro_pod?, #local_macro_pod_dir, #macro_pods, #spm_config
#pod_config
#project_config
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
|
22
23
24
|
# File 'lib/cocoapods-spm/macro/config.rb', line 22
def metadata
@metadata ||= MacroMetadata.for_pod(name)
end
|
18
19
20
|
# File 'lib/cocoapods-spm/macro/config.rb', line 18
def metadata_path
macro_dir / "metadata.json"
end
|