Add helper scripts and wlroots integration

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-06-29 17:34:45 +03:00
parent 1d99b16685
commit d83e7f4337
5 changed files with 232 additions and 19 deletions

7
tools/clang-format.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
cd $(dirname $0)/.. || exit 1
find src '(' -name '*.c' -o -name '*.h' -o -name '*.cpp' -o -name '*.hpp' ')' -print0 | xargs -0 clang-format -i
echo 'Formatted source files in src/'

7
tools/tokei.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
cd $(dirname $0)/.. || exit 1
tokei src
exit 0