Skip to content

Commit

Permalink
Makefile: use --locked for build
Browse files Browse the repository at this point in the history
to be ensured that Cargo.lock is up to date. also it's needed for disributions
  • Loading branch information
ognevny authored Jan 20, 2024
1 parent ff3fc81 commit 8773402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8773402

Please sign in to comment.