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
4a550710
Commit
4a550710
authored
Dec 24, 2014
by
Kyle Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Project] Remove trailing whitespace
parent
e01bf9f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
project.rb
lib/cocoapods/project.rb
+6
-6
No files found.
lib/cocoapods/project.rb
View file @
4a550710
...
@@ -59,7 +59,7 @@ module Pod
...
@@ -59,7 +59,7 @@ module Pod
parent_group
=
development
?
development_pods
:
pods
parent_group
=
development
?
development_pods
:
pods
source_tree
=
absolute
?
:
absolute
:
:group
source_tree
=
absolute
?
:
absolute
:
:group
group
=
parent_group
.
new_group
(
pod_name
,
path
,
source_tree
)
group
=
parent_group
.
new_group
(
pod_name
,
path
,
source_tree
)
group
group
end
end
...
@@ -147,7 +147,7 @@ module Pod
...
@@ -147,7 +147,7 @@ module Pod
#
#
# @param [Bool] reflect_file_system_structure
# @param [Bool] reflect_file_system_structure
# Wether group structure should reflect the file system structure.
# Wether group structure should reflect the file system structure.
# If yes, where needed, intermediate groups are created, similar to
# If yes, where needed, intermediate groups are created, similar to
# how mkdir -p operates.
# how mkdir -p operates.
#
#
# @return [PBXFileReference] The new file reference.
# @return [PBXFileReference] The new file reference.
...
@@ -161,12 +161,12 @@ module Pod
...
@@ -161,12 +161,12 @@ module Pod
if
reflect_file_system_structure
if
reflect_file_system_structure
relative_path
=
file_path_name
.
relative_path_from
(
group
.
real_path
)
relative_path
=
file_path_name
.
relative_path_from
(
group
.
real_path
)
relative_dir
=
relative_path
.
dirname
relative_dir
=
relative_path
.
dirname
relative_dir
.
each_filename
do
|
name
|
relative_dir
.
each_filename
do
|
name
|
next
if
name
==
"."
next
if
name
==
'.'
group
=
group
[
name
]
||
group
.
new_group
(
name
,
name
)
group
=
group
[
name
]
||
group
.
new_group
(
name
,
name
)
end
end
end
end
if
ref
=
reference_for_path
(
absolute_path
)
if
ref
=
reference_for_path
(
absolute_path
)
ref
ref
else
else
...
...
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