Makefile: use `--locked` for build

to be ensured that Cargo.lock is up to date. also it's needed for disributions
This commit is contained in:
Maksim Bondarenkov 2024-01-20 17:44:38 +03:00 committed by GitHub
parent ff3fc81db4
commit 8773402246
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ datadir=$(prefix)/share
exe_name=fd
$(EXE): Cargo.toml src/**/*.rs
cargo build --profile $(PROFILE)
cargo build --profile $(PROFILE) --locked
.PHONY: completions
completions: autocomplete/fd.bash autocomplete/fd.fish autocomplete/fd.ps1 autocomplete/_fd