diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:50:11 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:50:11 +0100 |
commit | 7e0c99bd2b30500c265370fe71bce3f243a10837 (patch) | |
tree | 895010f77d0df220e54df377c51e112dad4f27b2 /src/makefile | |
parent | e714303c486fb81851116710ba5d68e1b469df02 (diff) | |
parent | f78e8011ee77ba5303a5e608cc81c3b303d35943 (diff) |
merge `master` into `max/unit-tests`
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/makefile b/src/makefile index 5f80204..a0e8f02 100644 --- a/src/makefile +++ b/src/makefile @@ -1,6 +1,9 @@ .PHONY: FORCE -FMT := $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp') format: FORCE - clang-tidy -p build/compile_commands.json --fix-errors $(FMT) + $(MAKE) -C .. $@ + +LINT := $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp') +lint: FORCE + clang-tidy -p build/compile_commands.json --fix-errors $(LINT) |