Runs Prisma hybrid type and discrepancy analysis on compiled BEAM files.
Command line options
--mode- Analysis mode:hybrid(default),gradual, ordiscrepancy--format- Output format:human(default),oneline, orjson--no-color- Disables ANSI color sequences in output--color- Forces ANSI color output--no-warnings- Shows only errors (a warning is something the code handles, or that may fail on another system)--warnings-as-errors- Fails on warnings too (by default only errors fail)--no-oxbow- Disables oxbow (dead/unreachable code and unused clauses) analysis--oxbow- Enables oxbow analysis (default: enabled)--pplt <path>- Path to extra.ppltfiles (can be repeated)--env <name>- Mix environment (default:devor$MIX_ENV)
Configuration
In mix.exs:
def project do
[
...,
prisma: [
mode: :hybrid,
format: :human,
oxbow: true,
color: :auto,
pplts: []
]
]
end
Summary
Functions
-spec '__mix_recompile__?'() -> boolean().
-spec resolve_ebin_dirs([file:filename_all()]) -> [string()].
-spec resolve_ebin_dirs([file:filename_all()], map()) -> [string()].