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
63feac1b
Commit
63feac1b
authored
Feb 07, 2014
by
Eloy Durán
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1803 from jverkoey/fastsetup
Radically reduce first run pod setup bandwidth.
parents
b577ed86
93a61c27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
CHANGELOG.md
CHANGELOG.md
+9
-0
repo.rb
lib/cocoapods/command/repo.rb
+1
-1
No files found.
CHANGELOG.md
View file @
63feac1b
...
@@ -2,6 +2,15 @@
...
@@ -2,6 +2,15 @@
To install or update CocoaPods see this
[
guide
](
http://docs.cocoapods.org/guides/installing_cocoapods.html
)
.
To install or update CocoaPods see this
[
guide
](
http://docs.cocoapods.org/guides/installing_cocoapods.html
)
.
## Master
[
CocoaPods
](
https://github.com/jverkoey/CocoaPods/compare/0.29.0...master
)
###### Enhancements
*
Radically reduce first run pod setup bandwidth.
[
Jeff Verkoeyen
](
https://github.com/jverkoey
)
[
#1803
](
https://github.com/CocoaPods/CocoaPods/pull/1803
)
## 0.29.0
## 0.29.0
[
CocoaPods
](
https://github.com/CocoaPods/CocoaPods/compare/0.28.0...0.29.0
)
[
CocoaPods
](
https://github.com/CocoaPods/CocoaPods/compare/0.28.0...0.29.0
)
•
[
CocoaPods-core
](
https://github.com/CocoaPods/Core/compare/0.28.0...0.29.0
)
•
[
CocoaPods-core
](
https://github.com/CocoaPods/Core/compare/0.28.0...0.29.0
)
...
...
lib/cocoapods/command/repo.rb
View file @
63feac1b
...
@@ -34,7 +34,7 @@ module Pod
...
@@ -34,7 +34,7 @@ module Pod
def
run
def
run
UI
.
section
(
"Cloning spec repo `
#{
@name
}
` from `
#{
@url
}
`
#{
" (branch `
#{
@branch
}
`)"
if
@branch
}
"
)
do
UI
.
section
(
"Cloning spec repo `
#{
@name
}
` from `
#{
@url
}
`
#{
" (branch `
#{
@branch
}
`)"
if
@branch
}
"
)
do
config
.
repos_dir
.
mkpath
config
.
repos_dir
.
mkpath
Dir
.
chdir
(
config
.
repos_dir
)
{
git!
(
"clone '
#{
@url
}
'
#{
@name
}
"
)
}
Dir
.
chdir
(
config
.
repos_dir
)
{
git!
(
"clone
--depth=1
'
#{
@url
}
'
#{
@name
}
"
)
}
Dir
.
chdir
(
dir
)
{
git!
(
"checkout
#{
@branch
}
"
)
}
if
@branch
Dir
.
chdir
(
dir
)
{
git!
(
"checkout
#{
@branch
}
"
)
}
if
@branch
SourcesManager
.
check_version_information
(
dir
)
SourcesManager
.
check_version_information
(
dir
)
end
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