diff --git a/.indent.pro b/.indent.pro new file mode 100644 index 0000000..5c1d1ec --- /dev/null +++ b/.indent.pro @@ -0,0 +1,28 @@ +-bad +-bap +-bbb +-nbc +-bl +-c36 +-cd36 +-ncdb +-nce +-ci8 +-cli1 +-d0 +-di1 +-ndj +-ei +-fc1 +-i4 +-ip +-l72 +-lc72 +-lp +-npcs +-psl +-sc +-nsob +-nut +-nv + diff --git a/make.sh b/make.sh index 9c6b07b..e4010b0 100644 --- a/make.sh +++ b/make.sh @@ -76,10 +76,7 @@ recipe_clean() { recipe_format() { find src -name '*.c' -or -name '*.h' | while IFS= read -r src; do echo "indent $src" - indent -bad -bap -bbb -nbc -bl -c36 -cd36 -ncdb -nce \ - -ci8 -cli1 -d0 -di1 -ndj -ei -fc1 -i4 -ip -l72 \ - -lc72 -lp -npro -npcs -psl -sc -nsob -nut -nv \ - "$src" + indent "$src" done }