From eb21dae6fbd521c118fd293fca1ff04c46d888f3 Mon Sep 17 00:00:00 2001 From: Lucas Ritzdorf <42657792+LRitzdorf@users.noreply.github.com> Date: Wed, 22 Jul 2026 05:54:58 -0600 Subject: [PATCH] makefile: smol Makefile QoL patches (#15491) --- Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 2004a714b..77108e1cf 100644 --- a/Makefile +++ b/Makefile @@ -97,15 +97,17 @@ asan: format-check: @find src hyprctl hyprpm start tests hyprtester -type f \( -name "*.cpp" -o -name "*.hpp" -o -name "*.h" \) \ ! -path "src/render/shaders/Shaders.hpp" \ - ! -path "hyprctl/hw-protocols/*" | \ - xargs clang-format --dry-run --Werror + ! -path "hyprctl/hw-protocols/*" \ + ! -path "hyprtester/protocols/*" \ + | xargs clang-format --dry-run --Werror format-fix: @find src hyprctl hyprpm start tests hyprtester -type f \( -name "*.cpp" -o -name "*.hpp" -o -name "*.h" \) \ ! -path "src/render/shaders/Shaders.hpp" \ - ! -path "hyprctl/hw-protocols/*" | \ - xargs clang-format -i + ! -path "hyprctl/hw-protocols/*" \ + ! -path "hyprtester/protocols/*" \ + | xargs clang-format -i test: $(MAKE) debug - ./build/hyprtester/hyprtester -c hyprtester/test.lua -b ./build/Hyprland -p hyprtester/plugin/hyprtestplugin.so + ./build/hyprtester/hyprtester -c hyprtester/test.lua -b ./build/Hyprland -p hyprtester/plugin/hyprtestplugin.so $(TESTS)