Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMBase
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
GMBase
Commits
882a3546
Commit
882a3546
authored
Dec 18, 2018
by
gm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add action
parent
da7e6e20
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
0 deletions
+84
-0
pod_repo_update.rb
fastlane/actions/pod_repo_update.rb
+61
-0
report.xml
fastlane/report.xml
+23
-0
No files found.
fastlane/actions/pod_repo_update.rb
0 → 100644
View file @
882a3546
module
Fastlane
module
Actions
# Updates the local clone of the spec-repo
class
PodRepoUpdateAction
<
Action
def
self
.
run
(
params
)
cmd
=
[]
repo
=
params
[
:repo
]
result
=
Actions
.
sh
(
"pod repo update
#{
repo
}
"
)
UI
.
success
(
"Successfully pod repo update 💾."
)
return
result
end
#####################################################
# @!group Documentation
#####################################################
def
self
.
description
"Updates the local clone of the spec-repo `NAME`. If `NAME` is omitted this will update all spec-repos in `~/.cocoapods/repos`."
end
def
self
.
details
# Optional:
# this is your chance to provide a more detailed description of this action
"You can use this action to do cool things..."
end
def
self
.
available_options
# Define all options your action supports.
[
FastlaneCore
::
ConfigItem
.
new
(
key: :repo
,
description:
"Repo"
,
is_string:
false
,
verify_block:
proc
do
|
value
|
end
),
]
end
def
self
.
output
# Define the shared values you are going to provide
# Example
[
[
'POD_REPO_UPDATE_CUSTOM_VALUE'
,
'A description of what this value contains'
]
]
end
def
self
.
return_value
# If you method provides a return value, you can describe here what it does
end
def
self
.
authors
# So no one will ever forget your contribution to fastlane :) You are awesome btw!
[
"thierryxing"
]
end
def
self
.
is_supported?
(
platform
)
platform
==
:ios
end
end
end
end
fastlane/report.xml
0 → 100644
View file @
882a3546
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite
name=
"fastlane.lanes"
>
<testcase
classname=
"fastlane.lanes"
name=
"0: Verifying fastlane version"
time=
"0.010039"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"1: default_platform"
time=
"0.001342"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"2: git_pull"
time=
"1.027365"
>
</testcase>
</testsuite>
</testsuites>
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