Commit 174fea80 authored by Fabio Pelosin's avatar Fabio Pelosin

[Hooks] Add copy_resources_script_name to library

Closes #837
parent 7b031069
...@@ -30,6 +30,12 @@ module Pod ...@@ -30,6 +30,12 @@ module Pod
library.prefix_header_path library.prefix_header_path
end end
# @return [Pathname] The path of the script used to copy the resources.
#
def copy_resources_script_name
library.copy_resources_script_path
end
# @return [Project] The Pods project of the sandbox. # @return [Project] The Pods project of the sandbox.
# #
def project def project
......
...@@ -31,6 +31,11 @@ module Pod ...@@ -31,6 +31,11 @@ module Pod
@rep.prefix_header_filename.should == temporary_directory + 'Pods-MyApp-prefix.pch' @rep.prefix_header_filename.should == temporary_directory + 'Pods-MyApp-prefix.pch'
end end
it "returns the path of the copy resources script" do
@lib.support_files_root = temporary_directory
@rep.copy_resources_script_name.should == temporary_directory + 'Pods-MyApp-resources.sh'
end
it "returns the pods project" do it "returns the pods project" do
project = stub() project = stub()
config.sandbox.project = project config.sandbox.project = project
......
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