Snakepit.Bootstrap.Runner behaviour (Snakepit v0.13.0)

Copy Markdown View Source

Behaviour for executing bootstrap steps. Allows tests to inject fakes.

Summary

Callbacks

cmd(command, args, keyword)

@callback cmd(command :: String.t(), args :: [String.t()], keyword()) ::
  :ok | {:error, term()}

mix(task, args)

@callback mix(task :: String.t(), args :: [String.t()]) :: :ok | {:error, term()}