Module: Pod::SPM::MacroConfigMixin

Includes:
Config::Mixin
Included in:
MacroFetcher, MacroPrebuilder
Defined in:
lib/cocoapods-spm/macro/config.rb

Instance Method Summary collapse

Methods included from Config::SPMConfigMixin

#local_macro_pod?, #local_macro_pod_dir, #macro_pods, #spm_config

Methods included from Config::PodConfigMixin

#pod_config

Methods included from Config::ProjectConfigMixin

#project_config

Instance Method Details

#macro_dirObject



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_dirObject



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_dirObject



14
15
16
# File 'lib/cocoapods-spm/macro/config.rb', line 14

def macro_prebuilt_dir
  spm_config.macro_prebuilt_root_dir / name
end

#metadataObject



22
23
24
# File 'lib/cocoapods-spm/macro/config.rb', line 22

def 
  @metadata ||= MacroMetadata.for_pod(name)
end

#metadata_pathObject



18
19
20
# File 'lib/cocoapods-spm/macro/config.rb', line 18

def 
  macro_dir / "metadata.json"
end