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

[AggregateTarget] Minor cleanup

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