diff --git a/Justfile b/Justfile index 1d0e31c1..73f12874 100644 --- a/Justfile +++ b/Justfile @@ -9,6 +9,9 @@ lint: lint-ci: find src -type f -name "*.cpp" -print0 | parallel -q0 --no-notice --will-cite --tty clang-tidy --load={{ env_var("TIDYFOX") }} +lint-changed: + git diff --name-only HEAD | grep "^.*\.cpp\$" | parallel --no-notice --will-cite --eta clang-tidy --load={{ env_var("TIDYFOX") }} + configure target='debug' *FLAGS='': cmake -GNinja -B {{builddir}} \ -DCMAKE_BUILD_TYPE={{ if target == "debug" { "Debug" } else { "RelWithDebInfo" } }} \