Skip to content

Commit

Permalink
chore: improve cargo install, remove --locked
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Jul 26, 2024
1 parent 359aeaa commit 1c74fb8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions scripts/cargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions scripts/cargo_force.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1c74fb8

Please sign in to comment.