mirror of
https://git.proxmox.com/git/mirror_linux-firmware
synced 2025-08-09 04:59:24 +00:00
Wire up pre-commit to make check
This will let `make check` cover more things than just `WHENCE`. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
This commit is contained in:
parent
c442a5002c
commit
5e2367f8ea
6
Makefile
6
Makefile
@ -6,7 +6,11 @@ FIRMWAREDIR = /lib/firmware
|
|||||||
all:
|
all:
|
||||||
|
|
||||||
check:
|
check:
|
||||||
@./check_whence.py
|
@if ! which pre-commit >/dev/null; then \
|
||||||
|
echo "Install pre-commit to check files"; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
@pre-commit run --all-files
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -d $(DESTDIR)$(FIRMWAREDIR)
|
install -d $(DESTDIR)$(FIRMWAREDIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user