ExQuality.Stages.Compile (ExQuality v0.5.0)

View Source

Compiles the project in both dev and test environments.

Runs mix compile --warnings-as-errors in parallel for both MIX_ENV=dev and MIX_ENV=test. Both compilations must succeed for the stage to pass.

  • dev environment is needed for credo, dialyzer, doctor, and gettext
  • test environment is needed for running tests

Summary

Functions

Runs the compile stage.

Functions

run(config)

@spec run(keyword()) :: ExQuality.Stage.result()

Runs the compile stage.

Compiles both dev and test environments in parallel. If either compilation fails, the entire stage fails with the error output.