Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
174fea80
Commit
174fea80
authored
Mar 09, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Hooks] Add copy_resources_script_name to library
Closes #837
parent
7b031069
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
library_representation.rb
lib/cocoapods/hooks/library_representation.rb
+6
-0
library_representation_spec.rb
spec/unit/hooks/library_representation_spec.rb
+5
-0
No files found.
lib/cocoapods/hooks/library_representation.rb
View file @
174fea80
...
...
@@ -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
...
...
spec/unit/hooks/library_representation_spec.rb
View file @
174fea80
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment