Skip to content

Commit

Permalink
use cargo-binstall
Browse files Browse the repository at this point in the history
  • Loading branch information
kuwata0037 committed Aug 15, 2023
1 parent d263433 commit 394e46a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions run_once_install_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ install_rust() {
}

install_cargo_subcommand() {
if type cargo >/dev/null 2>&1; then
cargo install \
if type ~/.cargo/bin/cargo >/dev/null 2>&1; then
curl -L --proto '=https' --tlsv1.2 -sSf \
https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
~/.cargo/bin/cargo binstall \
cargo-edit \
cargo-nextest \
cargo-update
Expand Down

0 comments on commit 394e46a

Please sign in to comment.