You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice for cargo-dist to be able to generate a homebrew formula for your package, similar to the npm installer, which:
detects your platform (constructs a target triple)
fetches your prebuilt binaries
unpacks them as appropriate for a homebrew package
Initial discussion is that this requires us to:
generate a ruby script ("the formula")
help the user define a tap for their formulas (git repo containing some text files)
easiest might be adding a formulas/ dir to the root of their actual project
I expect that much of the logic here will be shared with the "shell" installer. Hopefully a lot of the places that need to be changed can be found by just adding a new variant to this enum and following the compiler errors.
It would be nice for cargo-dist to be able to generate a homebrew formula for your package, similar to the npm installer, which:
Initial discussion is that this requires us to:
formulas/
dir to the root of their actual projectI expect that much of the logic here will be shared with the "shell" installer. Hopefully a lot of the places that need to be changed can be found by just adding a new variant to this enum and following the compiler errors.
cargo-dist/cargo-dist/src/cli.rs
Lines 249 to 258 in 7a8ce38
The text was updated successfully, but these errors were encountered: