on master help sign in
Add '--locked' flag to all 'cargo install' commands
commit2b1d53fb27865f4784db64e96ebb99412b13541c authorsharkdp <davidpeter@web.de> dateMon 27 Apr 2020, 23:43 (7 years ago) parentbf696f5
3 files changed+9−9
README.md+3−3 doc/README-ja.md+3−3 doc/README-ko.md+3−3
README.md+3−3
@@ -352,7 +352,7 @@ If you want to build `bat` from source, you need Rust 1.40 or
352352higher. You can then use `cargo` to build everything:
353353
354354```bash
355−cargo install bat
355+cargo install --locked bat
356356```
357357
358358On some platforms, you might need to install `llvm` and/or `libclang-dev`.
@@ -606,11 +606,11 @@ cargo build --bins
606606cargo test
607607
608608# Install (release version)
609−cargo install
609+cargo install --locked
610610
611611# Build a bat binary with modified syntaxes and themes
612612bash assets/create.sh
613−cargo install -f
613+cargo install --locked --force
614614```
615615
616616## Maintainers
doc/README-ja.md+3−3
@@ -345,7 +345,7 @@ ansible-galaxy install aeimer.install_bat
345345そして `cargo` をビルドに対して使用します:
346346
347347```bash
348−cargo install bat
348+cargo install --locked bat
349349```
350350
351351一部のプラットフォームでは `llvm` および/または `libclang-dev` のインストールが必要になる場合があります。
@@ -594,11 +594,11 @@ cargo build --bins
594594cargo test
595595
596596# Install (release version)
597−cargo install
597+cargo install --locked
598598
599599# Build a bat binary with modified syntaxes and themes
600600bash assets/create.sh
601−cargo install -f
601+cargo install --locked --force
602602```
603603
604604## Maintainers
doc/README-ko.md+3−3
@@ -327,7 +327,7 @@ ansible-galaxy install aeimer.install_bat
327327`bat`의 소스를 직접 빌드하기 위해서는, Rust 1.36 이상이 필요하며 `cargo`를 이용해 빌드할 수 있습니다.
328328
329329```bash
330−cargo install bat
330+cargo install --locked bat
331331```
332332
333333일부 플랫폼에서는 `llvm` 그리고/또는 `libclang-dev` 설치가 필요할 수도 있습니다.
@@ -528,11 +528,11 @@ cargo build --bins
528528cargo test
529529
530530# Install (release version)
531−cargo install
531+cargo install --locked
532532
533533# Build a bat binary with modified syntaxes and themes
534534bash assets/create.sh
535−cargo install -f
535+cargo install --locked --force
536536```
537537
538538## 메인테이너들