mix collector.package_source (collector v0.1.1)

Copy Markdown

Stores your app's lib/**/*.ex inside the collector dependency's build, so a release, which ships no source files, can still send the lines around each frame of your code.

Run it right before mix release:

MIX_ENV=prod mix collector.package_source
MIX_ENV=prod mix release

Options:

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