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
ccc4d069
Commit
ccc4d069
authored
Jul 28, 2017
by
Dimitris Koutsogiorgas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `--skip-tests` support `push` to push command
parent
d577cbc4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
CHANGELOG.md
CHANGELOG.md
+3
-2
push.rb
lib/cocoapods/command/repo/push.rb
+3
-0
No files found.
CHANGELOG.md
View file @
ccc4d069
...
@@ -12,8 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -12,8 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
##### Bug Fixes
*
None.
*
Add
`--skip-tests`
support
`push`
to push command
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#6893
](
https://github.com/CocoaPods/CocoaPods/pull/6893
)
## 1.3.0.rc.1 (2017-07-27)
## 1.3.0.rc.1 (2017-07-27)
...
...
lib/cocoapods/command/repo/push.rb
View file @
ccc4d069
...
@@ -30,6 +30,7 @@ module Pod
...
@@ -30,6 +30,7 @@ module Pod
[
'--local-only'
,
'Does not perform the step of pushing REPO to its remote'
],
[
'--local-only'
,
'Does not perform the step of pushing REPO to its remote'
],
[
'--no-private'
,
'Lint includes checks that apply only to public repos'
],
[
'--no-private'
,
'Lint includes checks that apply only to public repos'
],
[
'--skip-import-validation'
,
'Lint skips validating that the pod can be imported'
],
[
'--skip-import-validation'
,
'Lint skips validating that the pod can be imported'
],
[
'--skip-tests'
,
'Lint skips building and running tests during validation'
],
[
'--commit-message="Fix bug in pod"'
,
'Add custom commit message. '
\
[
'--commit-message="Fix bug in pod"'
,
'Add custom commit message. '
\
'Opens default editor if no commit message is specified.'
],
'Opens default editor if no commit message is specified.'
],
[
'--use-json'
,
'Push JSON spec to repo'
],
[
'--use-json'
,
'Push JSON spec to repo'
],
...
@@ -52,6 +53,7 @@ module Pod
...
@@ -52,6 +53,7 @@ module Pod
@use_json
=
argv
.
flag?
(
'use-json'
)
@use_json
=
argv
.
flag?
(
'use-json'
)
@swift_version
=
argv
.
option
(
'swift-version'
,
nil
)
@swift_version
=
argv
.
option
(
'swift-version'
,
nil
)
@skip_import_validation
=
argv
.
flag?
(
'skip-import-validation'
,
false
)
@skip_import_validation
=
argv
.
flag?
(
'skip-import-validation'
,
false
)
@skip_tests
=
argv
.
flag?
(
'skip-tests'
,
false
)
super
super
end
end
...
@@ -130,6 +132,7 @@ module Pod
...
@@ -130,6 +132,7 @@ module Pod
validator
.
ignore_public_only_results
=
@private
validator
.
ignore_public_only_results
=
@private
validator
.
swift_version
=
@swift_version
validator
.
swift_version
=
@swift_version
validator
.
skip_import_validation
=
@skip_import_validation
validator
.
skip_import_validation
=
@skip_import_validation
validator
.
skip_tests
=
@skip_tests
begin
begin
validator
.
validate
validator
.
validate
rescue
=>
e
rescue
=>
e
...
...
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