Add '--locked' flag to all 'cargo install' commands

This commit is contained in:
sharkdp 2020-04-27 23:43:18 +02:00
parent bf696f58c8
commit 2b1d53fb27
3 changed files with 9 additions and 9 deletions

View File

@ -352,7 +352,7 @@ If you want to build `bat` from source, you need Rust 1.40 or
higher. You can then use `cargo` to build everything: higher. You can then use `cargo` to build everything:
```bash ```bash
cargo install bat cargo install --locked bat
``` ```
On some platforms, you might need to install `llvm` and/or `libclang-dev`. On some platforms, you might need to install `llvm` and/or `libclang-dev`.
@ -606,11 +606,11 @@ cargo build --bins
cargo test cargo test
# Install (release version) # Install (release version)
cargo install cargo install --locked
# Build a bat binary with modified syntaxes and themes # Build a bat binary with modified syntaxes and themes
bash assets/create.sh bash assets/create.sh
cargo install -f cargo install --locked --force
``` ```
## Maintainers ## Maintainers

View File

@ -345,7 +345,7 @@ ansible-galaxy install aeimer.install_bat
そして `cargo` をビルドに対して使用します: そして `cargo` をビルドに対して使用します:
```bash ```bash
cargo install bat cargo install --locked bat
``` ```
一部のプラットフォームでは `llvm` および/または `libclang-dev` のインストールが必要になる場合があります。 一部のプラットフォームでは `llvm` および/または `libclang-dev` のインストールが必要になる場合があります。
@ -594,11 +594,11 @@ cargo build --bins
cargo test cargo test
# Install (release version) # Install (release version)
cargo install cargo install --locked
# Build a bat binary with modified syntaxes and themes # Build a bat binary with modified syntaxes and themes
bash assets/create.sh bash assets/create.sh
cargo install -f cargo install --locked --force
``` ```
## Maintainers ## Maintainers

View File

@ -327,7 +327,7 @@ ansible-galaxy install aeimer.install_bat
`bat`의 소스를 직접 빌드하기 위해서는, Rust 1.36 이상이 필요하며 `cargo`를 이용해 빌드할 수 있습니다. `bat`의 소스를 직접 빌드하기 위해서는, Rust 1.36 이상이 필요하며 `cargo`를 이용해 빌드할 수 있습니다.
```bash ```bash
cargo install bat cargo install --locked bat
``` ```
일부 플랫폼에서는 `llvm` 그리고/또는 `libclang-dev` 설치가 필요할 수도 있습니다. 일부 플랫폼에서는 `llvm` 그리고/또는 `libclang-dev` 설치가 필요할 수도 있습니다.
@ -528,11 +528,11 @@ cargo build --bins
cargo test cargo test
# Install (release version) # Install (release version)
cargo install cargo install --locked
# Build a bat binary with modified syntaxes and themes # Build a bat binary with modified syntaxes and themes
bash assets/create.sh bash assets/create.sh
cargo install -f cargo install --locked --force
``` ```
## 메인테이너들 ## 메인테이너들