aboutsummaryrefslogtreecommitdiff
path: root/wallet/fastlane/Fastfile
blob: 559acaceac69763780ee694006931e8e22e22e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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

opt_out_usage

default_platform(:android)

platform :android do
  desc "Runs all the tests"
  lane :test do
    gradle(task: "test", gradle_path: '../gradlew')
  end

  desc "Deploy a new version to the Google Play beta track"
  lane :deploy do
    gradle(task: "clean assembleRelease", gradle_path: '../gradlew')
    upload_to_play_store(track: 'beta', skip_upload_images: 'true', skip_upload_screenshots: 'true', validate_only: 'true')
  end
end

# vi:syntax=ruby