mirror of
https://github.com/gitui-org/gitui
synced 2026-05-22 16:38:28 +00:00
Check cargo sort in make check (#2572)
This is run in CI, so running this offline avoids an unnecessary CI failure.
This commit is contained in:
parent
ad32993721
commit
dcd9a00ff3
2 changed files with 6 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
* support loading custom syntax highlighting themes from a file [[@acuteenvy](https://github.com/acuteenvy)] ([#2565](https://github.com/gitui-org/gitui/pull/2565))
|
||||
* Select syntax highlighting theme out of the defaults from syntect [[@vasilismanol](https://github.com/vasilismanol)] ([#1931](https://github.com/extrawurst/gitui/issues/1931))
|
||||
* new command-line option to override the default log file path (`--logfile`) [[@acuteenvy](https://github.com/acuteenvy)] ([#2539](https://github.com/gitui-org/gitui/pull/2539))
|
||||
* dx: `make check` checks Cargo.toml dependency ordering using `cargo sort` [[@naseschwarz](https://github.com/naseschwarz)]
|
||||
|
||||
### Changed
|
||||
* improve syntax highlighting file detection [[@acuteenvy](https://github.com/acuteenvy)] ([#2524](https://github.com/extrawurst/gitui/pull/2524))
|
||||
|
|
|
|||
7
Makefile
7
Makefile
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
.PHONY: debug build-release release-linux-musl test clippy clippy-pedantic install install-debug
|
||||
.PHONY: debug build-release release-linux-musl test clippy clippy-pedantic install install-debug sort
|
||||
|
||||
ARGS=-l
|
||||
# ARGS=-l -d ~/code/extern/kubernetes
|
||||
|
|
@ -94,7 +94,7 @@ clippy:
|
|||
clippy-nightly:
|
||||
cargo +nightly clippy --workspace --all-features
|
||||
|
||||
check: fmt clippy test deny
|
||||
check: fmt clippy test deny sort
|
||||
|
||||
check-nightly:
|
||||
cargo +nightly c
|
||||
|
|
@ -104,6 +104,9 @@ check-nightly:
|
|||
deny:
|
||||
cargo deny check
|
||||
|
||||
sort:
|
||||
cargo sort -c -w "."
|
||||
|
||||
install:
|
||||
cargo install --path "." --offline --locked
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue