Bless v1.2.1 mix bless View Source

A mix task for running a test suite.

Define the test suite for bless to run by making a list of tasks and arguments in your mix.exs file. Add a :bless_suite key to the project/0 function like so:

def project do
  [
    preferred_cli_env: [
      bless: :test
    ],
    ..
    bless_suite: [
      compile: ["--warnings-as-errors", "--force"],
      "chaps.html": ["--force"],
      format: ["--check-formatted"],
      credo: [],
      "deps.unlock": ["--unused"]
    ],
    ..
  ]
end

Then running mix bless will run each of those tasks.

Link to this section Summary

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.