Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
6ef156eb
Commit
6ef156eb
authored
Dec 18, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Installer,TargetInstaller] Add API group.
parent
aaac7dda
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
19 deletions
+31
-19
installer.rb
lib/cocoapods/installer.rb
+7
-2
target_installer.rb
lib/cocoapods/installer/target_installer.rb
+24
-17
No files found.
lib/cocoapods/installer.rb
View file @
6ef156eb
...
@@ -93,7 +93,9 @@ module Pod
...
@@ -93,7 +93,9 @@ module Pod
#-------------------------------------------------------------------------#
#-------------------------------------------------------------------------#
# @!group Installation products
# @!group API
#
# This is the tentative API for the podfile and the specification hooks.
public
public
...
@@ -124,9 +126,12 @@ module Pod
...
@@ -124,9 +126,12 @@ module Pod
#
#
attr_reader
:names_of_pods_to_install
attr_reader
:names_of_pods_to_install
# @return [Array<Library>] The libraries generated by the installation
# process.
#
attr_reader
:libraries
attr_reader
:libraries
#--------------------------------------
-----------------------------------
#
#--------------------------------------#
# @!group Hooks compatiblity
# @!group Hooks compatiblity
...
...
lib/cocoapods/installer/target_installer.rb
View file @
6ef156eb
...
@@ -7,15 +7,6 @@ module Pod
...
@@ -7,15 +7,6 @@ module Pod
#
#
class
TargetInstaller
class
TargetInstaller
# @return [Sandbox] sandbox the sandbox where the support files should
# be generated.
#
attr_reader
:sandbox
# @return [Library] The library whose target needs to be generated.
#
attr_reader
:library
# @param [Project] project @see project
# @param [Project] project @see project
# @param [TargetDefinition] target_definition @see target_definition
# @param [TargetDefinition] target_definition @see target_definition
#
#
...
@@ -39,19 +30,23 @@ module Pod
...
@@ -39,19 +30,23 @@ module Pod
create_copy_resources_script
create_copy_resources_script
end
end
# @todo This has to be removed, but this means the specs have to be
# updated if they need a reference to the prefix header.
#
def
prefix_header_filename
library
.
prefix_header_name
end
#-----------------------------------------------------------------------#
#-----------------------------------------------------------------------#
# @!group Installation products.
# @!group API
#
# This is the tentative API for the podfile and the specification hooks.
public
public
# @return [Sandbox] sandbox the sandbox where the support files should
# be generated.
#
attr_reader
:sandbox
# @return [Library] The library whose target needs to be generated.
#
attr_reader
:library
# @return [PBXNativeTarget] the target generated by the installation
# @return [PBXNativeTarget] the target generated by the installation
# process.
# process.
#
#
...
@@ -59,6 +54,18 @@ module Pod
...
@@ -59,6 +54,18 @@ module Pod
#
#
attr_reader
:target
attr_reader
:target
#--------------------------------------#
# @!group Hooks compatiblity
# @todo This has to be removed, but this means the specs have to be
# updated if they need a reference to the prefix header.
#
def
prefix_header_filename
UI
.
warn
"The usage of the TargetInstaller#prefix_header_filename is deprecated."
library
.
prefix_header_name
end
#-----------------------------------------------------------------------#
#-----------------------------------------------------------------------#
# @!group Installation steps
# @!group Installation steps
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment