feat(build): add mix burrito.dinein for local binary builds - #112
Merged
bougyman merged 2 commits intoAug 14, 2026
Merged
Conversation
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>
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
enabled auto-merge (squash)
August 14, 2026 18:32
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mix burrito.dinein— a repo-level Mix task that auto-detects the current host platform and builds the Burrito-wrappedlcrelease for that single target onlyapp/burrito_out/lc_<target>toapp/burrito_out/lcso it's immediately runnable without knowing the target suffixWhat it does
Runs
MIX_ENV=prod BURRITO_TARGET=<detected> mix release lc --overwriteinsideapp/, mirroring the pattern frommix container.build. After a successful build, renames the target-suffixed binary to plainlc(orlc.exeon Windows) inapp/burrito_out/.Test plan
mix compile --warnings-as-errorspassesmix testpasses — 8 tests (6 existing + 2 new)detect_target!/0returns a known target name for the current host🤖 Generated with Claude Code