feat: add bacon hosting integration#1302
Open
Odonno wants to merge 1 commit into
Open
Conversation
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1302Or
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1302" |
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.
I often, if not always, use bacon to run a Rust app in Aspire. Bacon is the best solution to run background jobs for Rust apps.
Part of #1048
PR Checklist
Other information
Note: on how bacon works, the default command run if none provided is
bacon check, equivalent tocargo check. It has no interest to runcheckby default for an Aspire resource. That's why I made it consistent withAddRustAppto useruncommand by default. But the main difference is that I allow any command override (not justrun <args>), in order to allow additional tasks likecheck,clippy,test, etc..Question: I would want to do the same for
AddRustAppbut that introduce a breaking change. One would want to have a "test" run for example.For information, the default solution
cargo-watchis no longer maintained and Bacon is one of the recommended solution.