on master help sign in
Add '--locked' flag to all 'cargo install' commands
2b1d53fsharkdp
README.md+3−3
@@ -352,7 +352,7 @@ If you want to build `bat` from source, you need Rust 1.40 or
352higher. You can then use `cargo` to build everything:
352higher. You can then use `cargo` to build everything:
353
353
354```bash
354```bash
355−cargo install bat
355+cargo install --locked bat
356```
356```
357
357
358On some platforms, you might need to install `llvm` and/or `libclang-dev`.
358On some platforms, you might need to install `llvm` and/or `libclang-dev`.
@@ -606,11 +606,11 @@ cargo build --bins
606cargo test
606cargo test
607
607
608# Install (release version)
608# Install (release version)
609−cargo install
609+cargo install --locked
610
610
611# Build a bat binary with modified syntaxes and themes
611# Build a bat binary with modified syntaxes and themes
612bash assets/create.sh
612bash assets/create.sh
613−cargo install -f
613+cargo install --locked --force
614```
614```
615
615
616## Maintainers
616## Maintainers
doc/README-ja.md+3−3
@@ -345,7 +345,7 @@ ansible-galaxy install aeimer.install_bat
345そして `cargo` をビルドに対して使用します:
345そして `cargo` をビルドに対して使用します:
346
346
347```bash
347```bash
348−cargo install bat
348+cargo install --locked bat
349```
349```
350
350
351一部のプラットフォームでは `llvm` および/または `libclang-dev` のインストールが必要になる場合があります。
351一部のプラットフォームでは `llvm` および/または `libclang-dev` のインストールが必要になる場合があります。
@@ -594,11 +594,11 @@ cargo build --bins
594cargo test
594cargo test
595
595
596# Install (release version)
596# Install (release version)
597−cargo install
597+cargo install --locked
598
598
599# Build a bat binary with modified syntaxes and themes
599# Build a bat binary with modified syntaxes and themes
600bash assets/create.sh
600bash assets/create.sh
601−cargo install -f
601+cargo install --locked --force
602```
602```
603
603
604## Maintainers
604## Maintainers
doc/README-ko.md+3−3
@@ -327,7 +327,7 @@ ansible-galaxy install aeimer.install_bat
327`bat`의 소스를 직접 빌드하기 위해서는, Rust 1.36 이상이 필요하며 `cargo`를 이용해 빌드할 수 있습니다.
327`bat`의 소스를 직접 빌드하기 위해서는, Rust 1.36 이상이 필요하며 `cargo`를 이용해 빌드할 수 있습니다.
328
328
329```bash
329```bash
330−cargo install bat
330+cargo install --locked bat
331```
331```
332
332
333일부 플랫폼에서는 `llvm` 그리고/또는 `libclang-dev` 설치가 필요할 수도 있습니다.
333일부 플랫폼에서는 `llvm` 그리고/또는 `libclang-dev` 설치가 필요할 수도 있습니다.
@@ -528,11 +528,11 @@ cargo build --bins
528cargo test
528cargo test
529
529
530# Install (release version)
530# Install (release version)
531−cargo install
531+cargo install --locked
532
532
533# Build a bat binary with modified syntaxes and themes
533# Build a bat binary with modified syntaxes and themes
534bash assets/create.sh
534bash assets/create.sh
535−cargo install -f
535+cargo install --locked --force
536```
536```
537
537
538## 메인테이너들
538## 메인테이너들