Module: FIR::BuildApk

Included in:
Util::ClassMethods
Defined in:
lib/fir/util/build_apk.rb

Instance Method Summary collapse

Instance Method Details

#build_apk(*args, options) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/fir/util/build_apk.rb', line 6

def build_apk(*args, options)
  initialize_build_common_options(args, options)
  set_flavor(options)

  Dir.chdir(@build_dir)
  @build_cmd = initialize_apk_build_cmd

  logger_info_and_run_build_command

  output_apk
  publish_build_app(options) if options.publish?

  logger_info_blank_line
end