mix tlm.package_source (tlm v0.1.0)

Copy Markdown

Stores your app's lib/**/*.ex inside the tlm dependency's build, so a release, which ships no source files, can still send the lines around each frame of your code. It also records which file and line defines each module, which releases strip from the compiled code.

Run it right before mix release:

MIX_ENV=prod mix tlm.package_source
MIX_ENV=prod mix release

Options:

  • --root — the app's directory (default: the current one).
  • --out — where to write (default: tlm's priv/source.etf in the current build).