Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMPhobos
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
GMPhobos
Commits
9d4416b3
Commit
9d4416b3
authored
Sep 23, 2016
by
jaguar-bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rm fast cation
parent
42248355
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
33 additions
and
246 deletions
+33
-246
.gitignore
.gitignore
+1
-1
Podfile.lock
Example/Podfile.lock
+2
-2
GMPhobos.podspec.json
Example/Pods/Local Podspecs/GMPhobos.podspec.json
+2
-2
Manifest.lock
Example/Pods/Manifest.lock
+2
-2
Info.plist
Example/Pods/Target Support Files/GMPhobos/Info.plist
+1
-1
Fastfile
fastlane/Fastfile
+2
-10
README.md
fastlane/README.md
+13
-9
git_commit_all.rb
fastlane/actions/git_commit_all.rb
+0
-35
pod_install.rb
fastlane/actions/pod_install.rb
+0
-30
pod_lib_lint.rb
fastlane/actions/pod_lib_lint.rb
+0
-84
sync_build_number_to_git.rb
fastlane/actions/sync_build_number_to_git.rb
+0
-47
report.xml
fastlane/report.xml
+10
-23
No files found.
.gitignore
View file @
9d4416b3
...
...
@@ -31,4 +31,4 @@ Carthage
# `pod install` in .travis.yml
#
# Pods/
fastlane/
report.xml
fastlane/
*
Example/Podfile.lock
View file @
9d4416b3
PODS:
- GMCache (0.1.0):
- TMCache (~> 2.1.0)
- GMPhobos (0.2.
9
):
- GMPhobos (0.2.
10
):
- GMCache (~> 0.1.0)
- TMCache (2.1.0)
...
...
@@ -14,7 +14,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
GMCache: a7b06a2d8a5a1c7cf023055c631ba9a0cd7c39fc
GMPhobos:
bc63d9f70899ce65f9ee9b789d90b63304cb4069
GMPhobos:
631c615169f137a7df127d38dc7c86eea553a323
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
PODFILE CHECKSUM: ab2b5ff1dcd8a35fd02cced6c06c7f9477b82d69
...
...
Example/Pods/Local Podspecs/GMPhobos.podspec.json
View file @
9d4416b3
{
"name"
:
"GMPhobos"
,
"version"
:
"0.2.
9
"
,
"version"
:
"0.2.
10
"
,
"summary"
:
"GM statistic data sdk"
,
"description"
:
"GM event track sdk."
,
"homepage"
:
"http://git.gengmei.cc/gengmeiios/GMPhobos"
,
...
...
@@ -10,7 +10,7 @@
},
"source"
:
{
"git"
:
"http://git.gengmei.cc/gengmeiios/GMPhobos.git"
,
"tag"
:
"0.2.
9
"
"tag"
:
"0.2.
10
"
},
"platforms"
:
{
"ios"
:
"8.0"
...
...
Example/Pods/Manifest.lock
View file @
9d4416b3
PODS:
- GMCache (0.1.0):
- TMCache (~> 2.1.0)
- GMPhobos (0.2.
9
):
- GMPhobos (0.2.
10
):
- GMCache (~> 0.1.0)
- TMCache (2.1.0)
...
...
@@ -14,7 +14,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
GMCache: a7b06a2d8a5a1c7cf023055c631ba9a0cd7c39fc
GMPhobos:
bc63d9f70899ce65f9ee9b789d90b63304cb4069
GMPhobos:
631c615169f137a7df127d38dc7c86eea553a323
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
PODFILE CHECKSUM: ab2b5ff1dcd8a35fd02cced6c06c7f9477b82d69
...
...
Example/Pods/Target Support Files/GMPhobos/Info.plist
View file @
9d4416b3
...
...
@@ -15,7 +15,7 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
FMWK
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
0.2.
9
<
/string
>
<
string
>
0.2.
10
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
...
...
fastlane/Fastfile
View file @
9d4416b3
import_from_git(url: 'git@git.gengmei.cc:mobile/JaguarTemplate.git',
path: 'fastlane/ios_lib_fastfile')
platform :ios do
desc "Release new version"
lane :release do |options|
options[:name] = 'GMPhobos'
do_release(options)
end
end
\ No newline at end of file
path: 'fastlane/ios_fastfile')
\ No newline at end of file
fastlane/README.md
View file @
9d4416b3
...
...
@@ -6,19 +6,24 @@ sudo gem install fastlane
```
# Available Actions
## iOS
### ios do_
release
### ios do_
deliver_app
```
fastlane ios do_
release
fastlane ios do_
deliver_app
```
D
o release new version
### ios
release
D
eploy a new version to the App Store
### ios
do_release_lib
```
fastlane ios
release
fastlane ios
do_release_lib
```
Release new version
Release new private pod version
### ios do_monkey_test
```
fastlane ios do_monkey_test
```
UI automation test
----
This README.md is auto-generated and will be re-generated every time
to run
[
fastlane
](
https://fastlane.tools
)
.
This README.md is auto-generated and will be re-generated every time
[
fastlane
](
https://fastlane.tools
)
is run
.
More information about fastlane can be found on
[
https://fastlane.tools
](
https://fastlane.tools
)
.
The documentation of fastlane can be found on
[
GitHub
](
https://github.com/fastlane/fastlane/tree/master/fastlane
)
.
\ No newline at end of file
The documentation of fastlane can be found on
[
GitHub
](
https://github.com/fastlane/fastlane/tree/master/fastlane
)
.
fastlane/actions/git_commit_all.rb
deleted
100644 → 0
View file @
42248355
module
Fastlane
module
Actions
class
GitCommitAllAction
<
Action
def
self
.
run
(
params
)
Actions
.
sh
"git commit -am
\"
#{
params
[
:message
]
}
\"
"
end
#####################################################
# @!group Documentation
#####################################################
def
self
.
description
"Commit all unsaved changes to git."
end
def
self
.
available_options
[
FastlaneCore
::
ConfigItem
.
new
(
key: :message
,
env_name:
"FL_GIT_COMMIT_ALL"
,
description:
"The git message for the commit"
,
is_string:
true
)
]
end
def
self
.
authors
# So no one will ever forget your contribution to fastlane :) You are awesome btw!
[
"thierry"
]
end
def
self
.
is_supported?
(
platform
)
true
end
end
end
end
fastlane/actions/pod_install.rb
deleted
100644 → 0
View file @
42248355
module
Fastlane
module
Actions
class
PodInstallAction
<
Action
def
self
.
run
(
params
)
Actions
.
sh
"cd Example && pod install"
Helper
.
log
.
info
"Successfully pod install ⬆️ "
.
green
end
#####################################################
# @!group Documentation
#####################################################
def
self
.
description
"Update all pods"
end
def
self
.
details
"Update all pods"
end
def
self
.
authors
[
"thierry"
]
end
def
self
.
is_supported?
(
platform
)
true
end
end
end
end
fastlane/actions/pod_lib_lint.rb
deleted
100644 → 0
View file @
42248355
module
Fastlane
module
Actions
class
PodLibLintAction
<
Action
def
self
.
run
(
params
)
command
=
[]
if
File
.
exist?
(
"Gemfile"
)
&&
params
[
:use_bundle_exec
]
command
<<
"bundle exec"
end
command
<<
"pod lib lint"
if
params
[
:verbose
]
command
<<
"--verbose"
end
if
params
[
:sources
]
sources
=
params
[
:sources
].
join
(
","
)
command
<<
"--sources='
#{
sources
}
'"
end
if
params
[
:allow_warnings
]
command
<<
"--allow-warnings"
end
result
=
Actions
.
sh
(
command
.
join
(
' '
))
Helper
.
log
.
info
"Pod lib lint Successfully ⬆️ "
.
green
return
result
end
#####################################################
# @!group Documentation
#####################################################
def
self
.
description
"Pod lib lint"
end
def
self
.
details
"Test the syntax of your Podfile by linting the pod against the files of its directory"
end
def
self
.
available_options
[
FastlaneCore
::
ConfigItem
.
new
(
key: :use_bundle_exec
,
description:
"Use bundle exec when there is a Gemfile presented"
,
is_string:
false
,
default_value:
true
),
FastlaneCore
::
ConfigItem
.
new
(
key: :verbose
,
description:
"Allow ouput detail in console"
,
optional:
true
,
is_string:
false
),
FastlaneCore
::
ConfigItem
.
new
(
key: :allow_warnings
,
description:
"Allow warnings during pod lint"
,
optional:
true
,
is_string:
false
),
FastlaneCore
::
ConfigItem
.
new
(
key: :sources
,
description:
"The sources of repos you want the pod spec to lint with, separated by commas"
,
optional:
true
,
is_string:
false
,
verify_block:
proc
do
|
value
|
raise
"Sources must be an array."
.
red
unless
value
.
kind_of?
(
Array
)
end
)
]
end
def
self
.
output
end
def
self
.
return_value
nil
end
def
self
.
authors
[
"thierryxing"
]
end
def
self
.
is_supported?
(
platform
)
true
end
end
end
end
fastlane/actions/sync_build_number_to_git.rb
deleted
100644 → 0
View file @
42248355
module
Fastlane
module
Actions
module
SharedValues
BUILD_NUMBER
=
:BUILD_NUMBER
end
class
SyncBuildNumberToGitAction
<
Action
def
self
.
is_git?
Actions
.
sh
'git rev-parse HEAD'
return
true
rescue
return
false
end
def
self
.
run
(
params
)
if
is_git?
command
=
'git rev-list HEAD --count'
else
raise
"Not in a git repository."
end
build_number
=
(
Actions
.
sh
command
).
strip
Fastlane
::
Actions
::
IncrementBuildNumberAction
.
run
(
build_number:
build_number
)
Actions
.
lane_context
[
SharedValues
::
BUILD_NUMBER
]
=
build_number
end
def
self
.
output
[
[
'BUILD_NUMBER'
,
'The new build number'
]
]
end
#####################################################
# @!group Documentation
#####################################################
def
self
.
description
"Set the build version of your project to the same number of your total git commit count"
end
def
self
.
authors
[
"thierry"
]
end
def
self
.
is_supported?
(
platform
)
[
:ios
].
include?
platform
end
end
end
end
fastlane/report.xml
View file @
9d4416b3
...
...
@@ -3,62 +3,49 @@
<testsuite
name=
"fastlane.lanes"
>
<testcase
classname=
"fastlane.lanes"
name=
"0: Verifying required fastlane version"
time=
"0.000
748
"
>
<testcase
classname=
"fastlane.lanes"
name=
"0: Verifying required fastlane version"
time=
"0.000
55
"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"1: default_platform"
time=
"0.000
273
"
>
<testcase
classname=
"fastlane.lanes"
name=
"1: default_platform"
time=
"0.000
506
"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"2:
Switch to ios do_release lane"
time=
"0.000291
"
>
<testcase
classname=
"fastlane.lanes"
name=
"2:
import_from_git"
time=
"0.560663
"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"3:
git_pull"
time=
"3.700715
"
>
<testcase
classname=
"fastlane.lanes"
name=
"3:
hipchat"
time=
"0.052643
"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"4:
ensure_git_branch"
time=
"0.008069
"
>
<testcase
classname=
"fastlane.lanes"
name=
"4:
git_pull"
time=
"0.814638
"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"5:
pod_install"
time=
"37.90775
2"
>
<testcase
classname=
"fastlane.lanes"
name=
"5:
ensure_git_branch"
time=
"0.00894
2"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"6: pod_
lib_lint"
time=
"51.707919
"
>
<testcase
classname=
"fastlane.lanes"
name=
"6: pod_
install"
time=
"13.095942
"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"7:
version_bump_podspec"
time=
"0.001221
"
>
<testcase
classname=
"fastlane.lanes"
name=
"7:
pod_lib_lint"
time=
"0.000979
"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"8: git_commit_all"
time=
"0.405558"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"9: add_git_tag"
time=
"0.016759"
>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"10: push_to_git_remote"
time=
"3.409749"
>
<failure
message=
"/Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/actions/actions_helper.rb:33:in `execute_action' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/runner.rb:187:in `block in execute_action' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/runner.rb:186:in `chdir' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/runner.rb:186:in `execute_action' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/runner.rb:112:in `trigger_action_by_name' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/fast_file.rb:140:in `method_missing' ../../../../../../var/folders/j6/yvgnw4_n0x74mjp36j7h7bjw0000gn/T/fl_clone20160923-35065-1nsot9/JaguarTemplate.git/fastlane/ios_fastfile:66:in `block (2 levels) in parsing_binding' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/lane.rb:33:in `call' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/runner.rb:49:in `block in execute' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/runner.rb:45:in `chdir' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/runner.rb:45:in `execute' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/command_line_handler.rb:30:in `handle' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane_core-0.52.0/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/commands_generator.rb:246:in `run' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/commands_generator.rb:20:in `start' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off' /Users/gengmei/.rvm/gems/ruby-2.3.0/gems/fastlane-1.103.0/bin/fastlane:5:in `<top (required)>' /Users/gengmei/.rvm/gems/ruby-2.3.0/bin/fastlane:23:in `load' /Users/gengmei/.rvm/gems/ruby-2.3.0/bin/fastlane:23:in `<main>' /Users/gengmei/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval' /Users/gengmei/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>' Could not find option 'fail_fast' in the list of available options: use_bundle_exec, verbose, allow_warnings, sources"
/>
</testcase>
<testcase
classname=
"fastlane.lanes"
name=
"
11: pod_push"
time=
"24.904112
"
>
<testcase
classname=
"fastlane.lanes"
name=
"
8: hipchat"
time=
"0.046265
"
>
</testcase>
...
...
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