Method: Highway::Runtime::Context#assert_executable_available!

Defined in:
lib/highway/runtime/context.rb

#assert_executable_available!(name) ⇒ Object

Assert that an executable with specified name is available.

Parameters:

  • name (String)

    Name of executable.



144
145
146
147
148
# File 'lib/highway/runtime/context.rb', line 144

def assert_executable_available!(name)
  unless FastlaneCore::CommandExecutor.which(name) != nil
    @interface.fatal!("Required executable '#{name}' could not be found. Make sure it's installed.")
  end
end