Lettuce.Config.Compiler (lettuce v0.3.0)
This module defines the struct of options that are accepted by the Mix.Tasks.Compile.Elixir, for more information find the docs here.
NOTE: --ignore-module-conflict is a requirement.
example-of-parameters-in-config-exs
Example of parameters in config.exs:
compiler_opts: [
"--ignore-module-conflict",
"--docs"
]
Link to this section Summary
Functions
Options tries to validate the parameters defined in config.exs. It will
throw and exception if a parameter is invalid. Parsed parameters are
ignored because the options are forwarded as strings to
Mix.Tass.Compile.Elixir.
Returns the validations defined in the module struct as a keyword because that is whet the OptionParser expects.
Link to this section Functions
options()
Options tries to validate the parameters defined in config.exs. It will
throw and exception if a parameter is invalid. Parsed parameters are
ignored because the options are forwarded as strings to
Mix.Tass.Compile.Elixir.
validations()
@spec validations() :: keyword()
Returns the validations defined in the module struct as a keyword because that is whet the OptionParser expects.