mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-18 02:51:23 +00:00
makefile: smol Makefile QoL patches (#15491)
This commit is contained in:
12
Makefile
12
Makefile
@ -97,15 +97,17 @@ asan:
|
|||||||
format-check:
|
format-check:
|
||||||
@find src hyprctl hyprpm start tests hyprtester -type f \( -name "*.cpp" -o -name "*.hpp" -o -name "*.h" \) \
|
@find src hyprctl hyprpm start tests hyprtester -type f \( -name "*.cpp" -o -name "*.hpp" -o -name "*.h" \) \
|
||||||
! -path "src/render/shaders/Shaders.hpp" \
|
! -path "src/render/shaders/Shaders.hpp" \
|
||||||
! -path "hyprctl/hw-protocols/*" | \
|
! -path "hyprctl/hw-protocols/*" \
|
||||||
xargs clang-format --dry-run --Werror
|
! -path "hyprtester/protocols/*" \
|
||||||
|
| xargs clang-format --dry-run --Werror
|
||||||
|
|
||||||
format-fix:
|
format-fix:
|
||||||
@find src hyprctl hyprpm start tests hyprtester -type f \( -name "*.cpp" -o -name "*.hpp" -o -name "*.h" \) \
|
@find src hyprctl hyprpm start tests hyprtester -type f \( -name "*.cpp" -o -name "*.hpp" -o -name "*.h" \) \
|
||||||
! -path "src/render/shaders/Shaders.hpp" \
|
! -path "src/render/shaders/Shaders.hpp" \
|
||||||
! -path "hyprctl/hw-protocols/*" | \
|
! -path "hyprctl/hw-protocols/*" \
|
||||||
xargs clang-format -i
|
! -path "hyprtester/protocols/*" \
|
||||||
|
| xargs clang-format -i
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(MAKE) debug
|
$(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)
|
||||||
|
|||||||
Reference in New Issue
Block a user