X-Git-Url: https://iankelling.org/git/?p=buildscripts;a=blobdiff_plain;f=rust;fp=rust;h=ceaf4c21a4832a0ca971f58bb80c276c6b26dedc;hp=08aea33679f53721af1df82b812a22c90ed1d33f;hb=36463736352b319d20280a80f74631f1628ed651;hpb=c5a1a48eda1f536677d345e39188311a2ad7d359 diff --git a/rust b/rust index 08aea33..ceaf4c2 100755 --- a/rust +++ b/rust @@ -16,13 +16,15 @@ source /a/bin/distro-functions/src/package-manager-abstractions PATH="$PATH:$HOME/.cargo/bin" hash -r +# todo: this should happen in some kind of sandbox or vm + # install rust. if type -t rustc &>/dev/null; then rustup update else curl https://sh.rustup.rs -sSf | bash -s -- -y fi -# todo: update this. updates in rust are stupidly complicate + if ! which rg &>/dev/null; then cargo install ripgrep fi