Class: Fastlane::Helper::PaperToolsBuildsHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/paper_tools_builds/helper/paper_tools_builds_helper.rb

Class Method Summary collapse

Class Method Details

.available?(binary = 'builds') ⇒ Boolean

Whether the builds binary is on PATH, or at the given path. The action lets the binary report its own absence; this is for a lane that wants to check first.

Returns:

  • (Boolean)


11
12
13
# File 'lib/fastlane/plugin/paper_tools_builds/helper/paper_tools_builds_helper.rb', line 11

def self.available?(binary = 'builds')
  system(binary, '--version', out: File::NULL, err: File::NULL)
end