lettuce v0.1.5 Lettuce.Config.Compiler

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:

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.

Returns the validations defined in the module struct as a keyword because that is whet the OptionParser expects.

Link to this section Functions

Link to this function

options()

options() :: [String.t()] | no_return()

Options tries to validate the parameters defined in config.exs. It will throw and exception if a parameter is invalid.

Link to this function

validations()

validations() :: keyword()

Returns the validations defined in the module struct as a keyword because that is whet the OptionParser expects.