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
f54a0b3f
Commit
f54a0b3f
authored
Dec 14, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Docs] More cleanup.
parent
8d87150a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
command.rb
lib/cocoapods/command.rb
+12
-0
list.rb
lib/cocoapods/command/list.rb
+2
-0
setup.rb
lib/cocoapods/command/setup.rb
+0
-1
external_sources.rb
lib/cocoapods/external_sources.rb
+1
-1
No files found.
lib/cocoapods/command.rb
View file @
f54a0b3f
...
@@ -64,12 +64,24 @@ module Pod
...
@@ -64,12 +64,24 @@ module Pod
private
private
# Checks that the podfile exists.
#
# @raise If the podfile does not exists.
#
# @return [void]
#
def
verify_podfile_exists!
def
verify_podfile_exists!
unless
config
.
podfile
unless
config
.
podfile
raise
Informative
,
"No `Podfile' found in the current working directory."
raise
Informative
,
"No `Podfile' found in the current working directory."
end
end
end
end
# Checks that the lockfile exists.
#
# @raise If the lockfile does not exists.
#
# @return [void]
#
def
verify_lockfile_exists!
def
verify_lockfile_exists!
unless
config
.
lockfile
unless
config
.
lockfile
raise
Informative
,
"No `Podfile.lock' found in the current working directory, run `pod install'."
raise
Informative
,
"No `Podfile.lock' found in the current working directory, run `pod install'."
...
...
lib/cocoapods/command/list.rb
View file @
f54a0b3f
...
@@ -36,6 +36,8 @@ module Pod
...
@@ -36,6 +36,8 @@ module Pod
end
end
end
end
#-----------------------------------------------------------------------#
class
New
<
List
class
New
<
List
self
.
summary
=
'Lists pods introduced in the master spec-repo since the last check'
self
.
summary
=
'Lists pods introduced in the master spec-repo since the last check'
...
...
lib/cocoapods/command/setup.rb
View file @
f54a0b3f
...
@@ -134,7 +134,6 @@ module Pod
...
@@ -134,7 +134,6 @@ module Pod
#
#
def
master_repo_is_push?
def
master_repo_is_push?
return
false
unless
master_repo_dir
.
exist?
return
false
unless
master_repo_dir
.
exist?
Dir
.
chdir
(
master_repo_dir
)
do
Dir
.
chdir
(
master_repo_dir
)
do
url
=
git
(
'config --get remote.origin.url'
)
url
=
git
(
'config --get remote.origin.url'
)
url
.
chomp
==
read_write_url
url
.
chomp
==
read_write_url
...
...
lib/cocoapods/external_sources.rb
View file @
f54a0b3f
...
@@ -190,7 +190,7 @@ module Pod
...
@@ -190,7 +190,7 @@ module Pod
#-------------------------------------------------------------------------#
#-------------------------------------------------------------------------#
# Provides support for fetching a specification file from a Svn
S
ource
# Provides support for fetching a specification file from a Svn
s
ource
# remote.
# remote.
#
#
# Supports all the options of the downloader (is similar to the git key of
# Supports all the options of the downloader (is similar to the git key of
...
...
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