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
81b6113b
Commit
81b6113b
authored
Jul 29, 2017
by
Orta
Committed by
GitHub
Jul 29, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6909 from dnkoutso/add_skip_tests_to_repo_ppush
Add `--skip-tests` support `push` to push command
parents
d577cbc4
ccc4d069
Hide 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 @
81b6113b
...
...
@@ -12,8 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### 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)
...
...
lib/cocoapods/command/repo/push.rb
View file @
81b6113b
...
...
@@ -30,6 +30,7 @@ module Pod
[
'--local-only'
,
'Does not perform the step of pushing REPO to its remote'
],
[
'--no-private'
,
'Lint includes checks that apply only to public repos'
],
[
'--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. '
\
'Opens default editor if no commit message is specified.'
],
[
'--use-json'
,
'Push JSON spec to repo'
],
...
...
@@ -52,6 +53,7 @@ module Pod
@use_json
=
argv
.
flag?
(
'use-json'
)
@swift_version
=
argv
.
option
(
'swift-version'
,
nil
)
@skip_import_validation
=
argv
.
flag?
(
'skip-import-validation'
,
false
)
@skip_tests
=
argv
.
flag?
(
'skip-tests'
,
false
)
super
end
...
...
@@ -130,6 +132,7 @@ module Pod
validator
.
ignore_public_only_results
=
@private
validator
.
swift_version
=
@swift_version
validator
.
skip_import_validation
=
@skip_import_validation
validator
.
skip_tests
=
@skip_tests
begin
validator
.
validate
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