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
945fe5c9
Commit
945fe5c9
authored
May 21, 2014
by
Olivier Halligon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed description to quote arguments so that they get colorized
parent
9aeafe16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
push.rb
lib/cocoapods/command/repo/push.rb
+1
-1
spec.rb
lib/cocoapods/command/spec.rb
+2
-2
No files found.
lib/cocoapods/command/repo/push.rb
View file @
945fe5c9
...
...
@@ -8,7 +8,7 @@ module Pod
self
.
summary
=
'Push new specifications to a spec-repo'
self
.
description
=
<<-
DESC
Validates `NAME.podspec` or `*.podspec
'
in the current working dir,
Validates `NAME.podspec` or `*.podspec
`
in the current working dir,
creates a directory and version folder for the pod in the local copy of
`REPO` (~/.cocoapods/repos/[REPO]), copies the podspec file into the
version directory, and finally it pushes `REPO` to its remote.
...
...
lib/cocoapods/command/spec.rb
View file @
945fe5c9
...
...
@@ -53,13 +53,13 @@ module Pod
self
.
summary
=
'Validates a spec file.'
self
.
description
=
<<-
DESC
Validates `NAME.podspec
'
. If a directory is provided it validates
Validates `NAME.podspec
`
. If a directory is provided it validates
the podspec files found, including subfolders. In case
the argument is omitted, it defaults to the current working dir.
DESC
self
.
arguments
=
[
CLAide
::
Argument
[
%w(NAME.podspec DIRECTORY http://PATH/NAME.podspec ...
'
)
,
false
]
CLAide
::
Argument
[
%w(NAME.podspec DIRECTORY http://PATH/NAME.podspec ...)
,
false
]
]
def
self
.
options
...
...
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