diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-05 14:50:49 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-05 14:50:49 +0200 |
commit | e54ebc7e74f3ca94de3467a03397c0aad2aed079 (patch) | |
tree | 87275746537881f8d21be33ae842374fd3750d49 /src/makefile | |
parent | c40332b990b025d2bd7b94e41184d7f0547da203 (diff) |
`make format` + clang-tidy
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/makefile b/src/makefile new file mode 100644 index 0000000..c1ef601 --- /dev/null +++ b/src/makefile @@ -0,0 +1,6 @@ +.PHONY: FORCE + +FMT += $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp') +format: FORCE + clang-tidy -p build/compile_commands.json --fix-errors $(FMT) + |