rust-lang / rustlings

:crab: Small exercises to get you used to reading and writing Rust code!
https://rustlings.cool
MIT License
53.89k stars 10.14k forks source link

Provide a way to install rustlings with homebrew #1082

Closed alimehasin closed 7 months ago

alimehasin commented 2 years ago

Hope to see brew formulae for rustlings

Transurgeon commented 1 year ago

@diannasoreil could you assign this issue to me? I would like to try out adding rustlings to homebrew

shadows-withal commented 1 year ago

I'm not sure how useful this would be, as installing the command and cloning the repository need to happen at the same time (the command/binary needs to be built from the repository). I don't think it fits what criteria there are for making something installable in Homebrew.

Transurgeon commented 1 year ago

Oh ok, no worries then. I also noticed that the process of installing rustlings was quite different than other casks in Homebrew.

tisba commented 7 months ago

nice, thanks @mo8it 👏 Would love to give this a try, but I'm not sure how. Did you add rustlings to homebrew-core? Or is it a custom homebrew tap? 🔍

mo8it commented 7 months ago

Sorry for the confusion, but I closed the issue because of its closing words by @shadows-withal in https://github.com/rust-lang/rustlings/issues/1082#issuecomment-1366522384. I don't think that it is worth it, maybe unless we go in the direction of https://github.com/rust-lang/rustlings/issues/1919. Then we would have a standalone binary and wouldn't need the repository.