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
aad3fb48
Commit
aad3fb48
authored
Aug 23, 2012
by
Eloy Durán
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error message when a local source dir doesn't exist.
parent
5b562bb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dependency.rb
lib/cocoapods/dependency.rb
+2
-2
No files found.
lib/cocoapods/dependency.rb
View file @
aad3fb48
...
...
@@ -167,7 +167,7 @@ module Pod
def
specification_from_external
(
sandbox
,
platform
)
copy_external_source_into_sandbox
(
sandbox
,
platform
)
spec
=
specification_from_local
(
sandbox
,
platform
)
raise
Informative
,
"No podspec found for `
#{
name
}
`
in
#{
description
}
"
unless
spec
raise
Informative
,
"No podspec found for `
#{
name
}
'
in
#{
description
}
"
unless
spec
spec
end
...
...
@@ -219,7 +219,7 @@ module Pod
class
LocalSource
<
AbstractExternalSource
def
pod_spec_path
path
=
Pathname
.
new
(
@params
[
:local
]).
expand_path
+
"
#{
name
}
.podspec"
raise
Informative
,
"No podspec found for `
#{
name
}
` in
#{
description
}
"
unless
path
.
exist?
raise
Informative
,
"No podspec found for `
#{
name
}
' in `
#{
@params
[
:local
]
}
'
"
unless
path
.
exist?
path
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