Commit 6ef156eb authored by Fabio Pelosin's avatar Fabio Pelosin

[Installer,TargetInstaller] Add API group.

parent aaac7dda
...@@ -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
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment