radare2/sys/indent-whitelist.sh
2016-01-07 12:04:26 +01:00

51 lines
867 B
Bash
Executable File

#!/bin/sh
FILES="
libr/include/r_list.h
libr/include/r_reg.h
libr/anal/cycles.c
libr/anal/esil.c
libr/anal/data.c
libr/config/config.c
libr/config/callback.c
libr/config/t/test.c
libr/fs/fs.c
libr/reg/reg.c
libr/reg/arena.c
libr/reg/double.c
libr/reg/cond.c
libr/reg/value.c
libr/reg/profile.c
libr/bin/bin.c
libr/bin/bin_write.c
libr/bin/dbginfo.c
libr/bin/filter.c
libr/bin/format/objc/mach0_classes.c
libr/cons/hud.c
libr/cons/2048.c
libr/cons/utf8.c
libr/cons/line.c
libr/cons/canvas.c
libr/cons/editor.c
libr/util/base64.c
libr/util/name.c
libr/util/stack.c
libr/util/slist.c
libr/util/log.c
libr/util/cache.c
libr/core/file.c
"
case "$1" in
"help"|-h)
echo "Usage. sys/indent-whitelist.sh [commit] [apply]"
;;
"commit")
sys/indent.sh -i ${FILES}
git commit sys/indent* ${FILES}
;;
"apply")
sys/indent.sh -i ${FILES}
;;
*)
sys/indent.sh -u ${FILES}
esac