This commit is contained in:
Nishi 2025-11-17 18:27:17 +09:00
commit 31fa65caaa
Signed by: nishi
GPG key ID: 27EF69B208EB9343
4 changed files with 11 additions and 9 deletions

View file

@ -1,8 +1,10 @@
#!/bin/sh
cd mdebase
./format.sh
cd ..
format() {
echo "-- $1"
cd $1
clang-format --verbose -i `find $2 -name "*.c" -or -name "*.h"`
cd ..
}
cd mdelibs
./format.sh
cd ..
format mdebase "mdm milkwm mpanel"
format mdelibs "src include"