core-lightning/libwally-core/tools/uncrustify
Rusty Russell 1271ac8899 libwally-core: import version 3b025127cbf11912f8b95e7ff3c905d74e8433ce
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-02-21 15:15:28 +10:30

9 lines
239 B
Bash
Executable File

#!/bin/sh
# Use uncrustify to reformat the source
if test -z "$1"; then
files=`ls src/*.c src/*.h src/ctest/*.c include/*.h | grep -v src/config.h`
else
files="$*"
fi
uncrustify --replace --no-backup -c tools/uncrustify.cfg $files