From 1c74fb80044fd8c98297f74505cb2d0cab9ad50a Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Fri, 26 Jul 2024 23:28:23 +0700 Subject: [PATCH] chore: improve cargo install, remove --locked --- scripts/cargo.sh | 10 +++++----- scripts/cargo_force.sh | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/cargo.sh b/scripts/cargo.sh index 16ee0ad..9c03335 100755 --- a/scripts/cargo.sh +++ b/scripts/cargo.sh @@ -2,17 +2,17 @@ rustup update -cargo install --quiet --locked \ +cargo install \ fd-find bat git-delta eza sd tlrc \ difftastic vivid zellij zoxide \ stylua typos-cli \ pokeget \ daktilo -cargo install --quiet --locked ripgrep --features 'pcre2' -cargo install --quiet --git https://github.com/Schniz/fnm fnm -cargo install --quiet --git https://github.com/astral-sh/rye rye -cargo install --quiet --git https://github.com/tamasfe/taplo taplo-cli +cargo install --git https://github.com/BurntSushi/ripgrep ripgrep --features 'pcre2' +cargo install --git https://github.com/Schniz/fnm fnm +cargo install --git https://github.com/astral-sh/rye rye +cargo install --git https://github.com/tamasfe/taplo taplo-cli bat cache --build diff --git a/scripts/cargo_force.sh b/scripts/cargo_force.sh index 78a4933..2efbd0a 100755 --- a/scripts/cargo_force.sh +++ b/scripts/cargo_force.sh @@ -1,13 +1,13 @@ #!/usr/bin/env bash -cargo install --quiet --force --locked \ +cargo install --force \ fd-find bat git-delta eza sd tlrc \ difftastic vivid zellij zoxide \ stylua typos-cli \ pokeget \ daktilo -cargo install --quiet --force --locked ripgrep --features 'pcre2' -cargo install --quiet --force --git https://github.com/Schniz/fnm fnm -cargo install --quiet --force --git https://github.com/astral-sh/rye rye -cargo install --quiet --force --git https://github.com/tamasfe/taplo taplo-cli +cargo install --force --git https://github.com/BurntSushi/ripgrep ripgrep --features 'pcre2' +cargo install --force --git https://github.com/Schniz/fnm fnm +cargo install --force --git https://github.com/astral-sh/rye rye +cargo install --force --git https://github.com/tamasfe/taplo taplo-cli