Method: Fastlane::Helper::AdbHelper#trigger
- Defined in:
- fastlane/lib/fastlane/helper/adb_helper.rb
#trigger(command: nil, serial: nil) ⇒ Object
Run a certain action
36 37 38 39 40 |
# File 'fastlane/lib/fastlane/helper/adb_helper.rb', line 36 def trigger(command: nil, serial: nil) android_serial = serial != "" ? "ANDROID_SERIAL=#{serial}" : nil command = [android_serial, adb_path.shellescape, host_option, command].compact.join(" ").strip Action.sh(command) end |