Module: Pod::SPM::MacroConfigMixin
Instance Method Summary
collapse
Methods included from PathMixn
#prepare_dir
#local_macro_pod?, #local_macro_pod_dir, #macro_pods, #spm_config
#pod_config
#project_config
Instance Method Details
#macro_dir ⇒ Object
11
12
13
|
# File 'lib/cocoapods-spm/macro/config.rb', line 11
def macro_dir
@macro_dir ||= spm_config.macro_root_dir / name
end
|
#macro_downloaded_dir ⇒ Object
7
8
9
|
# File 'lib/cocoapods-spm/macro/config.rb', line 7
def macro_downloaded_dir
spm_config.macro_downloaded_root_dir / name
end
|
#macro_prebuilt_dir ⇒ Object
19
20
21
|
# File 'lib/cocoapods-spm/macro/config.rb', line 19
def macro_prebuilt_dir
spm_config.macro_prebuilt_root_dir / name
end
|
#macro_scratch_dir ⇒ Object
15
16
17
|
# File 'lib/cocoapods-spm/macro/config.rb', line 15
def macro_scratch_dir
@macro_scratch_dir ||= prepare_dir(spm_config.macro_root_dir / ".build")
end
|
27
28
29
|
# File 'lib/cocoapods-spm/macro/config.rb', line 27
def metadata
@metadata ||= MacroMetadata.for_pod(name)
end
|
23
24
25
|
# File 'lib/cocoapods-spm/macro/config.rb', line 23
def metadata_path
macro_dir / "metadata.json"
end
|