Commit 4e084442 authored by Fabio Pelosin's avatar Fabio Pelosin

[AggregateTarget] Minor cleanup

parent 7b14c180
...@@ -36,8 +36,8 @@ module Pod ...@@ -36,8 +36,8 @@ module Pod
# #
attr_accessor :user_project_path attr_accessor :user_project_path
# @return [String] the list of the UUIDs of the user targets that will be # @return [Array<String>] the list of the UUIDs of the user targets that
# integrated by this target as identified by the analizer. # will be integrated by this target as identified by the analizer.
# #
# @note The target instances are not stored to prevent editing different # @note The target instances are not stored to prevent editing different
# instances. # instances.
...@@ -104,11 +104,10 @@ module Pod ...@@ -104,11 +104,10 @@ module Pod
"${SRCROOT}/#{relative_to_srcroot(copy_resources_script_path)}" "${SRCROOT}/#{relative_to_srcroot(copy_resources_script_path)}"
end end
#-------------------------------------------------------------------------# private
# @!group Private Helpers # @!group Private Helpers
#-------------------------------------------------------------------------#
private
# Computes the relative path of a sandboxed file from the `$(SRCROOT)` # Computes the relative path of a sandboxed file from the `$(SRCROOT)`
# variable of the user's project. # variable of the user's project.
...@@ -121,8 +120,5 @@ module Pod ...@@ -121,8 +120,5 @@ module Pod
def relative_to_srcroot(path) def relative_to_srcroot(path)
path.relative_path_from(client_root).to_s path.relative_path_from(client_root).to_s
end end
#-------------------------------------------------------------------------#
end end
end end
...@@ -58,8 +58,6 @@ module Pod ...@@ -58,8 +58,6 @@ module Pod
@target.acknowledgements_basepath.to_s.should.include?('Pods/Pods-acknowledgements') @target.acknowledgements_basepath.to_s.should.include?('Pods/Pods-acknowledgements')
end end
#--------------------------------------#
it "returns the path of the resources script relative to the user project" do it "returns the path of the resources script relative to the user project" do
@target.copy_resources_script_relative_path.should == '${SRCROOT}/Pods/Pods-resources.sh' @target.copy_resources_script_relative_path.should == '${SRCROOT}/Pods/Pods-resources.sh'
end end
...@@ -88,6 +86,5 @@ module Pod ...@@ -88,6 +86,5 @@ module Pod
consumer_reps.should == [["BananaLib", :ios]] consumer_reps.should == [["BananaLib", :ios]]
end end
end end
end end
end end
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