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
16default_platform(:android)
17
18platform :android do
19 desc "Build debug and test APK for screenshots"
20 lane :build_for_screengrab do
21 build_android_app(
22 task: 'assemble',
23 flavor: 'CheogramFree',
24 build_type: 'Debug'
25 )
26 build_android_app(
27 task: 'assemble',
28 flavor: 'CheogramFree',
29 build_type: 'DebugAndroidTest'
30 )
31 end
32
33 desc "Build and take screenshots"
34 lane :build_and_screengrab do
35 build_for_screengrab
36 capture_android_screenshots
37 end
38end