MixTestWatch.Config (mix test.watch v1.4.0)

View Source

Responsible for gathering and packaging the configuration for the task.

Summary

Functions

Create a new config struct, taking values from the ENV

Types

t()

@type t() :: %MixTestWatch.Config{
  clear: boolean(),
  cli_args: [String.t()],
  cli_executable: String.t(),
  exclude: [String.t()],
  extra_extensions: [String.t()],
  runner: atom(),
  tasks: [String.t()],
  timestamp: boolean()
}

Functions

new(cli_args \\ [])

@spec new([String.t()]) :: t()

Create a new config struct, taking values from the ENV