buildsys: add 'make lint'
for now we only activate lints for code that is "outright wrong" Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
b21851cc5c
commit
d159610265
4
Makefile
4
Makefile
|
@ -97,6 +97,10 @@ cargo-build:
|
||||||
|
|
||||||
$(COMPILED_BINS): cargo-build
|
$(COMPILED_BINS): cargo-build
|
||||||
|
|
||||||
|
.PHONY: lint
|
||||||
|
lint:
|
||||||
|
cargo clippy -- -A clippy::all -D clippy::correctness
|
||||||
|
|
||||||
install: $(COMPILED_BINS)
|
install: $(COMPILED_BINS)
|
||||||
install -dm755 $(DESTDIR)$(BINDIR)
|
install -dm755 $(DESTDIR)$(BINDIR)
|
||||||
$(foreach i,$(USR_BIN), \
|
$(foreach i,$(USR_BIN), \
|
||||||
|
|
Loading…
Reference in New Issue