mix compile.spex (client_utils v0.1.17)
View SourceCompiles .exs files matching a glob pattern and returns their diagnostics.
Add :spex to your project's compilers list so it runs as part of mix compile:
def project do
[
compilers: Mix.compilers() ++ [:spex],
...
]
endProject configuration
Configure the glob pattern under the :spex key:
def project do
[
spex: [pattern: "test/spex/**/*_spex.exs"],
...
]
endFlags
--spex-pattern(-p) - glob pattern for .exs files to compile