summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2020-04-27 23:43:18 +0200
committersharkdp <davidpeter@web.de>2020-04-27 23:43:18 +0200
commit2b1d53fb27865f4784db64e96ebb99412b13541c (patch)
treef6fb28c69ebba49c271cea2aceeb721e9869b081
parentbf696f58c89bc8115e2ead1a66a3250d33db1376 (diff)
Add '--locked' flag to all 'cargo install' commands
-rw-r--r--README.md6
-rw-r--r--doc/README-ja.md6
-rw-r--r--doc/README-ko.md6
3 files changed, 9 insertions, 9 deletions
diff --git a/README.md b/README.md
index 157a2e6c..5972806f 100644
--- a/README.md
+++ b/README.md
@@ -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:
```bash
-cargo install bat
+cargo install --locked bat
```
On some platforms, you might need to install `llvm` and/or `libclang-dev`.
@@ -606,11 +606,11 @@ cargo build --bins
cargo test
# Install (release version)
-cargo install
+cargo install --locked
# Build a bat binary with modified syntaxes and themes
bash assets/create.sh
-cargo install -f
+cargo install --locked --force
```
## Maintainers
diff --git a/doc/README-ja.md b/doc/README-ja.md
index fd26ed14..3733675e 100644
--- a/doc/README-ja.md
+++ b/doc/README-ja.md
@@ -345,7 +345,7 @@ ansible-galaxy install aeimer.install_bat
そして `cargo` をビルドに対して使用します:
```bash
-cargo install bat
+cargo install --locked bat
```
一部のプラットフォームでは `llvm` および/または `libclang-dev` のインストールが必要になる場合があります。
@@ -594,11 +594,11 @@ cargo build --bins
cargo test
# Install (release version)
-cargo install
+cargo install --locked
# Build a bat binary with modified syntaxes and themes
bash assets/create.sh
-cargo install -f
+cargo install --locked --force
```
## Maintainers
diff --git a/doc/README-ko.md b/doc/README-ko.md
index c7716793..bd451b78 100644
--- a/doc/README-ko.md
+++ b/doc/README-ko.md
@@ -327,7 +327,7 @@ ansible-galaxy install aeimer.install_bat
`bat`의 소스를 직접 빌드하기 위해서는, Rust 1.36 이상이 필요하며 `cargo`를 이용해 빌드할 수 있습니다.
```bash
-cargo install bat
+cargo install --locked bat
```
일부 플랫폼에서는 `llvm` 그리고/또는 `libclang-dev` 설치가 필요할 수도 있습니다.
@@ -528,11 +528,11 @@ cargo build --bins
cargo test
# Install (release version)
-cargo install
+cargo install --locked
# Build a bat binary with modified syntaxes and themes
bash assets/create.sh
-cargo install -f
+cargo install --locked --force
```
## 메인테이너들