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
c290bf9f
Commit
c290bf9f
authored
Aug 09, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Install/Update] Forgot to stage two files :-).
parent
33c9710e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
update.rb
lib/cocoapods/command/update.rb
+4
-4
resolver.rb
lib/cocoapods/resolver.rb
+4
-3
No files found.
lib/cocoapods/command/update.rb
View file @
c290bf9f
...
...
@@ -35,10 +35,10 @@ module Pod
raise
Informative
,
"No `Podfile.lock' found in the current working directory, run `pod install'."
end
#
if @update_repo
#
print_title 'Updating Spec Repositories', true
#
Repo.new(ARGV.new(["update"])).run
#
end
if
@update_repo
print_title
'Updating Spec Repositories'
,
true
Repo
.
new
(
ARGV
.
new
([
"update"
])).
run
end
sandbox
=
Sandbox
.
new
(
config
.
project_pods_root
)
resolver
=
Resolver
.
new
(
podfile
,
lockfile
,
sandbox
)
...
...
lib/cocoapods/resolver.rb
View file @
c290bf9f
...
...
@@ -68,10 +68,13 @@ module Pod
end
end
lock_dependencies_version
unless
update_mode
@cached_specs
=
{}
@targets_and_specs
=
{}
@external_pods
=
[]
@dependencies_podfile_incompatible
=
[]
@removed_pods
=
[]
lock_dependencies_version
unless
update_mode
@podfile
.
target_definitions
.
values
.
each
do
|
target_definition
|
puts
"
\n
Resolving dependencies for target `
#{
target_definition
.
name
}
' (
#{
target_definition
.
platform
}
):"
.
green
if
config
.
verbose?
...
...
@@ -161,8 +164,6 @@ module Pod
#
def
lock_dependencies_version
return
unless
lockfile
@dependencies_podfile_incompatible
=
[]
@removed_pods
=
[]
puts
"
\n
Finding updated or removed pods:"
.
green
if
config
.
verbose?
podfile_deps_names
=
podfile_dependencies
.
map
(
&
:name
)
...
...
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