Lettuce.Config.Compiler (lettuce v0.2.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.

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

Link to this section Functions

@spec 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.

@spec validations() :: keyword()

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