Files
YTLitePlus/Tweaks/PSHeader/generateHeaders.sh
2023-06-27 09:54:41 +02:00

9 lines
209 B
Bash
Executable File

#!/bin/bash
for d in $(find . -type d ! -name .git -depth 1); do
D=${d/\.\//}
cd ${D}
find . -type f -name '*.h' ! -name ${D}.h | sed 's/\.\///g' | sed '/^ *$/d;s/.*/#import "&"/' > ${D}.h
cd ..
done