Skip to content

Commit 46eaaf7

Browse files
author
Melih Aksoy
committed
Initial fastlane setup
1 parent c571530 commit 46eaaf7

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
3+
gem "fastlane"

fastlane/Appfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
2+
package_name("com.melih.rocketscience") # e.g. com.krausefx.app

fastlane/Fastfile

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This file contains the fastlane.tools configuration
2+
# You can find the documentation at https://docs.fastlane.tools
3+
#
4+
# For a list of all available actions, check out
5+
#
6+
# https://docs.fastlane.tools/actions
7+
#
8+
# For a list of all available plugins, check out
9+
#
10+
# https://docs.fastlane.tools/plugins/available-plugins
11+
#
12+
13+
# Uncomment the line if you want fastlane to automatically update itself
14+
# update_fastlane
15+
16+
default_platform(:android)
17+
18+
platform :android do
19+
desc "Runs all the tests"
20+
lane :test do
21+
gradle(task: "test")
22+
end
23+
24+
desc "Submit a new Beta Build to Crashlytics Beta"
25+
lane :beta do
26+
gradle(task: "clean assembleRelease")
27+
crashlytics
28+
29+
# sh "your_script.sh"
30+
# You can also use other beta testing services here
31+
end
32+
33+
desc "Deploy a new version to the Google Play"
34+
lane :deploy do
35+
gradle(task: "clean assembleRelease")
36+
upload_to_play_store
37+
end
38+
end

0 commit comments

Comments
 (0)