mirror of
https://github.com/etlegacy/EasyGen.git
synced 2025-03-11 18:51:56 +00:00
18 lines
No EOL
358 B
Batchfile
18 lines
No EOL
358 B
Batchfile
@echo off
|
|
@setLocal EnableDelayedExpansion
|
|
|
|
set batloc=%~dp0
|
|
set easygensource=%batloc%
|
|
|
|
CALL:UNCRUSTCODE
|
|
GOTO:EOF
|
|
|
|
:UNCRUSTCODE
|
|
echo Starting uncrustify %easygensource%
|
|
FOR /R "%easygensource%\src" %%G IN (*.h *.c *.cpp *.glsl) DO call:UNCRUSTFILE %%G
|
|
GOTO:EOF
|
|
|
|
:UNCRUSTFILE
|
|
echo %~1
|
|
uncrustify --no-backup -c %easygensource%\uncrustify.cfg %~1
|
|
GOTO:EOF |