core-lightning/external/libwally-core/tools/uncrustify
Rusty Russell f42f34b82d external: new subdirectory for all external libraries and submodules.
You will want to 'make distclean' after this.

I also removed libsecp; we use the one in in libwally anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-08-29 17:54:14 +02:00

8 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