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
library.prefix_header_path
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.
#
def project
......
......@@ -31,6 +31,11 @@ module Pod
@rep.prefix_header_filename.should == temporary_directory + 'Pods-MyApp-prefix.pch'
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
project = stub()
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