all: fix gcc warnings and lints

This commit is contained in:
outfoxxed 2025-10-04 13:22:17 -07:00
parent 9bb2c043ae
commit c5c438f1cd
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
11 changed files with 42 additions and 16 deletions

View file

@ -12,6 +12,9 @@ lint-ci:
lint-changed:
git diff --name-only HEAD | grep "^.*\.cpp\$" | parallel -j$(nproc) --no-notice --will-cite --tty --bar clang-tidy --load={{ env_var("TIDYFOX") }}
lint-staged:
git diff --staged --name-only HEAD | grep "^.*\.cpp\$" | parallel -j$(nproc) --no-notice --will-cite --tty --bar clang-tidy --load={{ env_var("TIDYFOX") }}
configure target='debug' *FLAGS='':
cmake -GNinja -B {{builddir}} \
-DCMAKE_BUILD_TYPE={{ if target == "debug" { "Debug" } else { "RelWithDebInfo" } }} \