Skip to content

feat(build): add mix burrito.dinein for local binary builds - #112

Merged
bougyman merged 2 commits into
mainfrom
bougyman/cry-41-add-a-mix-task-to-build-a-local-burrito-lc-binary
Aug 14, 2026
Merged

feat(build): add mix burrito.dinein for local binary builds#112
bougyman merged 2 commits into
mainfrom
bougyman/cry-41-add-a-mix-task-to-build-a-local-burrito-lc-binary

Conversation

@bougyman

Copy link
Copy Markdown
Member

Summary

  • Adds mix burrito.dinein — a repo-level Mix task that auto-detects the current host platform and builds the Burrito-wrapped lc release for that single target only
  • Renames the output from app/burrito_out/lc_<target> to app/burrito_out/lc so it's immediately runnable without knowing the target suffix
  • Fails with an actionable error on unsupported platforms (macOS Intel, Linux ARM, etc.), listing the three supported targets

What it does

mix burrito.dinein                        # builds for current host
mix burrito.dinein --target linux_x86_64  # explicit override

Runs MIX_ENV=prod BURRITO_TARGET=<detected> mix release lc --overwrite inside app/, mirroring the pattern from mix container.build. After a successful build, renames the target-suffixed binary to plain lc (or lc.exe on Windows) in app/burrito_out/.

Test plan

  • mix compile --warnings-as-errors passes
  • mix test passes — 8 tests (6 existing + 2 new)
    • Rejects extra positional arguments with usage message
    • detect_target!/0 returns a known target name for the current host

🤖 Generated with Claude Code

Adds a repo-level Mix task that detects the current host platform,
builds the Burrito-wrapped lc release for that single target only
(MIX_ENV=prod), then renames the output from lc_<target> to plain lc
in app/burrito_out/ so it's immediately runnable without knowing the
target suffix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 14, 2026 18:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Add catch-all to detect_os so unknown Unix variants (FreeBSD, etc.)
flow to detect_target!'s actionable Mix.raise instead of crashing with
FunctionClauseError. Return raw string from detect_cpu fallback instead
of String.to_atom to avoid leaking atoms.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bougyman
bougyman enabled auto-merge (squash) August 14, 2026 18:32
@bougyman
bougyman merged commit decf951 into main Aug 14, 2026
2 checks passed
@bougyman
bougyman deleted the bougyman/cry-41-add-a-mix-task-to-build-a-local-burrito-lc-binary branch August 14, 2026 18:33
This was referenced Aug 14, 2026
bougyman pushed a commit that referenced this pull request Aug 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.6.0](v1.5.1...v1.6.0)
(2026-08-14)


### Features

* **build:** add mix burrito.dinein for local binary builds
([#112](#112))
([decf951](decf951))


### Bug Fixes

* **ai:** adds CLAUDE.md symlink
([#110](#110))
([5165c4e](5165c4e))
* **close:** make issue close/cancel idempotent when already in terminal
state ([#113](#113))
([0a71060](0a71060))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants