Add a clippy command to the makefile.

This commit is contained in:
Tom Alexander 2023-10-16 16:16:37 -04:00
parent ed105b04ad
commit 1c23065329
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -37,6 +37,14 @@ clean:
format:
> $(MAKE) -C docker/cargo_fmt run
.PHONY: clippy
clippy:
> cargo clippy --no-deps --all-targets --all-features -- -D warnings
.PHONY: clippyfix
clippyfix:
> cargo clippy --fix --lib -p organic --all-features
.PHONY: test
test:
> cargo test --no-default-features --features compare --no-fail-fast --lib --test test_loader -- --test-threads $(TESTJOBS)