Compiles the Patina packages of a Mix project.
To use Patina compiler, add the following to your mix.exs:
def project do
[
# Add `:patina` before `Mix.compilers()`
compilers: [:patina] ++ Mix.compilers(),
# Add `:patina_core` to your dependencies.
# We recommend depending on version `">= 0.0.0"`.
deps: [{:patina_core, ">= 0.0.0"}],
]
endThe compiler builds the package for the root-level Patina.toml, if it exists,
and all packages in directories listed under :patina_packages configuration key.
Command line options
--force- forces a clean rebuild.
Configuration
:patina_packages- directories of the in-tree Patina packages to compile, relative tomix.exs. Defaults to[].