crablang / crab

A community fork of a language named after a plant fungus. All of the memory-safe features you love, now with 100% less bureaucracy!
https://www.crablang.org
Other
5.13k stars 66 forks source link

Feature: `crabup.sh` for installing crab lang #78

Closed jpmcb closed 1 year ago

jpmcb commented 1 year ago

Hi all - would love if there was an easy way to install crab via crabup.sh (much like there is a rustup.sh for rust).

Looks like crabup.sh is already registered; do one of the maintainers here have it and could we take use of that for installing crab?

pinkforest commented 1 year ago

This already ~works* via install.crablang.org :)

https://github.com/rinse-repeat/crab-toolchain/blob/main/action.yml#L62

curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://install.crablang.org" | sh -s -- --default-toolchain none -y

Also see CI action here which uses it: https://github.com/rinse-repeat/crab-toolchain

I have a CI for it running as well: https://github.com/rinse-repeat/crab-toolchain/actions/runs/5233206187

*Windows one needs fixing and currently it just renames rust bins - which we will need a pipeline in the future.

If someone has some time to contribute - there is the issue open for fixing the current Windows quick installer