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
2b20357e
Commit
2b20357e
authored
Apr 22, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Pod::Command::Spec] Refinement to xcodebuild output processing
parent
e1b12749
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
spec.rb
lib/cocoapods/command/spec.rb
+5
-1
No files found.
lib/cocoapods/command/spec.rb
View file @
2b20357e
...
...
@@ -182,8 +182,12 @@ module Pod
def
proces_xcode_build_output
(
output
)
output_by_line
=
output
.
split
(
"
\n
"
)
selected_lines
=
output_by_line
.
select
do
|
l
|
l
.
include?
(
'error'
)
||
l
.
include?
(
'warning'
)
&&
!
l
.
include?
(
'warning generated.'
)
l
.
include?
(
'error'
)\
||
l
.
include?
(
'warning'
)
&&
!
l
.
include?
(
'warning generated.'
)\
||
l
.
include?
(
'note'
)
end
# Remove the unnecessary tmp path
selected_lines
.
map
{
|
l
|
l
.
gsub
(
/\/tmp\/CocoaPods\/Lint\/Pods\//
,
''
)}
end
# It checks that every file pattern specified in a spec yields
...
...
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