Class: Pod::Installer
- Inherits:
-
Object
show all
- Includes:
- SPM::Config::Mixin
- Defined in:
- lib/cocoapods-spm/patch/installer.rb,
lib/cocoapods-spm/macro/pod_installer.rb
Defined Under Namespace
Classes: MacroPodInstaller
Instance Method Summary
collapse
#macro_pods, #spm_config
#pod_config
#project_config
Instance Method Details
#create_pod_installer(pod_name) ⇒ Object
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/cocoapods-spm/patch/installer.rb', line 16
def create_pod_installer(pod_name)
if macro_pods.include?(pod_name)
macro_pod_installer = MacroPodInstaller.new(
sandbox,
podfile,
specs_for_pod(pod_name),
can_cache: installation_options.clean?
)
pod_installers << macro_pod_installer
macro_pod_installer
else
origin_create_pod_installer(pod_name)
end
end
|
#integrate ⇒ Object
32
33
34
35
36
|
# File 'lib/cocoapods-spm/patch/installer.rb', line 32
def integrate
run_spm_pre_integrate_hooks
origin_integrate
run_spm_post_integrate_hooks
end
|
#origin_create_pod_installer ⇒ Object
15
|
# File 'lib/cocoapods-spm/patch/installer.rb', line 15
alias origin_create_pod_installer create_pod_installer
|
#origin_integrate ⇒ Object
31
|
# File 'lib/cocoapods-spm/patch/installer.rb', line 31
alias origin_integrate integrate
|
#origin_resolve_dependencies ⇒ Object
9
|
# File 'lib/cocoapods-spm/patch/installer.rb', line 9
alias origin_resolve_dependencies resolve_dependencies
|
#resolve_dependencies ⇒ Object
10
11
12
13
|
# File 'lib/cocoapods-spm/patch/installer.rb', line 10
def resolve_dependencies
origin_resolve_dependencies
resolve_spm_dependencies
end
|