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
a33b9a3c
Commit
a33b9a3c
authored
Jan 14, 2016
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XCConfigIntegrator] Fix highlighting of regexp
parent
ff4535ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xcconfig_integrator.rb
...oject_integrator/target_integrator/xcconfig_integrator.rb
+2
-2
No files found.
lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb
View file @
a33b9a3c
...
...
@@ -146,7 +146,7 @@ module Pod
SILENCE_WARNINGS_STRING
=
'// @COCOAPODS_SILENCE_WARNINGS@ //'
def
self
.
xcconfig_includes_target_xcconfig?
(
base_config_ref
,
target_config_path
)
return
unless
base_config_ref
&&
base_config_ref
.
real_path
.
file?
regex
=
/
regex
=
%r{
^(
(
\s
* # Possible, but unlikely, space before include statement
\#
include
\s
+ # Include statement
...
...
@@ -158,7 +158,7 @@ module Pod
|
(
#{
Regexp
.
quote
(
SILENCE_WARNINGS_STRING
)
}
) # Token to treat xcconfig as good and silence pod install warnings
)
/
x
}
x
base_config_ref
.
real_path
.
readlines
.
find
{
|
line
|
line
=~
regex
}
end
...
...
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