mix ex_ratatui.gen.burrito (ExRatatui v0.10.0)

Copy Markdown View Source

Patches the current project to ship as a single-file native binary via Burrito.

Adds {:burrito, "~> 1.5"}, wires releases/0 with the four standard targets (linux, macos, macos_silicon, windows), creates a CLI module with a main/1 entry point, adds a .mise.toml pinning zig 0.15.2, and — when --ci github is passed — drops a release workflow into .github/workflows/.

See guides/packaging_with_burrito.md for the end-to-end story this task automates.

Example

mix ex_ratatui.gen.burrito --tui-module MyTui.TUI
mix ex_ratatui.gen.burrito --tui-module MyTui.TUI --ci github

Options

  • --tui-module (required) — the module that use ExRatatui.App. The generated CLI calls that_module.start_link/1 and monitors it.
  • --cinone (default) or github. With github, drops .github/workflows/release.yml that builds and publishes binaries on tag push.