Class: Fastlane::Helper::PaperToolsBuildsHelper
- Inherits:
-
Object
- Object
- Fastlane::Helper::PaperToolsBuildsHelper
- Defined in:
- lib/fastlane/plugin/paper_tools_builds/helper/paper_tools_builds_helper.rb
Class Method Summary collapse
-
.available?(binary = 'builds') ⇒ Boolean
Whether the
buildsbinary is on PATH, or at the given path.
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.
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 |