Add fastlane

This commit is contained in:
Karim Abou Zeid 2018-05-18 21:34:32 +02:00
commit 43f544a43b
9 changed files with 299 additions and 0 deletions

3
Gemfile Normal file
View file

@ -0,0 +1,3 @@
source "https://rubygems.org"
gem "fastlane"

154
Gemfile.lock Normal file
View file

@ -0,0 +1,154 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.0)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
atomos (0.1.2)
babosa (1.0.2)
claide (1.0.2)
colored (1.2)
colored2 (3.1.2)
commander-fastlane (4.4.6)
highline (~> 1.7.2)
declarative (0.0.10)
declarative-option (0.1.0)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.4.0)
emoji_regex (0.1.1)
excon (0.62.0)
faraday (0.15.1)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (0.12.2)
faraday (>= 0.7.4, < 1.0)
fastimage (2.1.3)
fastlane (2.95.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
babosa (>= 1.0.2, < 2.0.0)
bundler (>= 1.12.0, < 2.0.0)
colored
commander-fastlane (>= 4.4.6, < 5.0.0)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (~> 0.1)
excon (>= 0.45.0, < 1.0.0)
faraday (~> 0.9)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 0.9)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-api-client (>= 0.13.1, < 0.14.0)
highline (>= 1.7.2, < 2.0.0)
json (< 3.0.0)
mini_magick (~> 4.5.1)
multi_json
multi_xml (~> 0.5)
multipart-post (~> 2.0.0)
plist (>= 3.1.0, < 4.0.0)
public_suffix (~> 2.0.0)
rubyzip (>= 1.1.0, < 2.0.0)
security (= 0.1.3)
simctl (~> 1.6.3)
slack-notifier (>= 2.0.0, < 3.0.0)
terminal-notifier (>= 1.6.2, < 2.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (>= 0.6.3, < 1.0.0)
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.5.7, < 2.0.0)
xcpretty (>= 0.2.4, < 1.0.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-get_version_name (0.2.2)
gh_inspector (1.1.3)
google-api-client (0.13.6)
addressable (~> 2.5, >= 2.5.1)
googleauth (~> 0.5)
httpclient (>= 2.8.1, < 3.0)
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
googleauth (0.6.2)
faraday (~> 0.12)
jwt (>= 1.4, < 3.0)
logging (~> 2.0)
memoist (~> 0.12)
multi_json (~> 1.11)
os (~> 0.9)
signet (~> 0.7)
highline (1.7.10)
http-cookie (1.0.3)
domain_name (~> 0.5)
httpclient (2.8.3)
json (2.1.0)
jwt (2.1.0)
little-plugger (1.1.4)
logging (2.2.2)
little-plugger (~> 1.1)
multi_json (~> 1.10)
memoist (0.16.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_magick (4.5.1)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
nanaimo (0.2.5)
naturally (2.1.0)
os (0.9.6)
plist (3.4.0)
public_suffix (2.0.5)
representable (3.0.4)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
uber (< 0.2.0)
retriable (3.1.1)
rouge (2.0.7)
rubyzip (1.2.1)
security (0.1.3)
signet (0.8.1)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.4)
CFPropertyList
naturally
slack-notifier (2.3.2)
terminal-notifier (1.8.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
tty-cursor (0.5.0)
tty-screen (0.6.4)
tty-spinner (0.8.0)
tty-cursor (>= 0.5.0)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
unicode-display_width (1.3.2)
word_wrap (1.0.0)
xcodeproj (1.5.9)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.2)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.2.5)
xcpretty (0.2.8)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.0)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
ruby
DEPENDENCIES
fastlane
fastlane-plugin-get_version_name
BUNDLED WITH
1.16.1

2
fastlane/Appfile Normal file
View file

@ -0,0 +1,2 @@
json_key_file("/Users/karim/Documents/PhonographRessources/privatekeys/fastlane-supply-key.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("com.kabouzeid.gramophone") # e.g. com.krausefx.app

49
fastlane/Fastfile Normal file
View file

@ -0,0 +1,49 @@
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:android)
platform :android do
desc "Deploy a new beta version to the Google Play"
lane :beta do
gradle(task: "clean assembleRelease")
upload_to_play_store(track: 'beta')
end
desc "Deploy a new staged release version to the Google Play"
lane :deploy_staged do
gradle(task: "clean assembleRelease")
upload_to_play_store(track: 'rollout', rollout: '0.1')
end
desc "Deploy a new version to the Google Play"
lane :deploy do
gradle(task: "clean assembleRelease")
upload_to_play_store
end
desc "Generates a changelog from git commits and puts it in the clipboard"
lane :changelog do
changelog = changelog_from_git_commits(merge_commit_filtering: 'exclude_merges')
clipboard(value: changelog)
end
desc "Creates and pushes a release tag"
lane :tag do
tag = prompt(text: "Version name: ")
add_git_tag(tag: tag)
push_git_tags(tag: tag)
end
end

49
fastlane/README.md Normal file
View file

@ -0,0 +1,49 @@
fastlane documentation
================
# Installation
Make sure you have the latest version of the Xcode command line tools installed:
```
xcode-select --install
```
Install _fastlane_ using
```
[sudo] gem install fastlane -NV
```
or alternatively using `brew cask install fastlane`
# Available Actions
## Android
### android beta
```
fastlane android beta
```
Deploy a new beta version to the Google Play
### android deploy_staged
```
fastlane android deploy_staged
```
Deploy a new staged release version to the Google Play
### android deploy
```
fastlane android deploy
```
Deploy a new version to the Google Play
### android changelog
```
fastlane android changelog
```
Generates a changelog from git commits and puts it in the clipboard
### android tag
```
fastlane android tag
```
Creates and pushes a release tag
----
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 [fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).

View file

@ -0,0 +1,40 @@
<b>Probably the best looking music player out there.</b><br><br>
<b>Material Design</b>
The user interface matches every single detail of the material design guidelines to ensure Phonograph is an eye candy for you.
<b>Easy to Use</b>
No complicated or overblown menus but a familiar and clean interface.
<b>Last.fm Integration</b>
Phonograph automatically downloads additional information about your artists such as their images or biographies. When you install the official Last.fm app, scrobbling will work right out of the box too.
<b>Dynamic Colors</b>
The UI colors change dynamically to match the main contents base color.
<b>Customizability</b>
There is an inbuilt theme engine with many different colors to choose from.
<b>Tag Editor</b>
The tag editor allows you to easily edit the tags of your music files such as title, artist, album name (...) for single songs or whole albums. You can even either let Phonograph automatically download missing album covers for you (powered by Last.fm) or choose one from your internal storage.
<b>And OF COURSE
- Phonograph has got all those standard features such as:</b>
- Create and edit playlists
- Homescreen widget
- Lockscreen playback controls
- "Go-To Actions" such as jump from a song or an album right to its artist
- ...
<i>Licenses for the album covers used in the screenshots:</i>
Credits: https://www.flickr.com/photos/room122/
Link: https://www.flickr.com/photos/room122/3248118087
License: https://creativecommons.org/licenses/by/2.0/
Credits: https://www.flickr.com/photos/40985721@N00/
Link: https://www.flickr.com/photos/40985721@N00/7918133232
License: https://creativecommons.org/licenses/by/2.0/
Credits: https://www.flickr.com/photos/wheatfields/
Link: https://www.flickr.com/photos/wheatfields/3328507930
License: https://creativecommons.org/licenses/by/2.0/

View file

@ -0,0 +1 @@
Phonograph is an open source and material designed music player for Android.

View file

@ -0,0 +1 @@
Phonograph Music Player