Sha256: 39fcc8c0ec10ff415d7ed8820e6f6a1ba2f65b0b5930fe5b6710c7c2c33de090
Contents?: true
Size: 496 Bytes
Versions: 7
Compression:
Stored size: 496 Bytes
Contents
#!/bin/sh # # Indents all .c and .h files in the project that are not vendor code (ie: Unity). # INDENT=indent if [ -x "$(command -v gindent)" ]; then INDENT=gindent fi for f in $(find exercises/ -not -path '*/vendor/*' -name '*.c' -or -not -path '*/vendor/*' -name '*.h'); do $INDENT -nbad -bap -nbc -bbo -hnl -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -d0 -di1 -nfc1 -i3 -nut -ip0 -l80 -lp -npcs -nprs -npsl -sai -saf -saw -ncs -nsc -sob -nfca -cp33 -ss -il1 $f rm $f~ 2> /dev/null done
Version data entries
7 entries across 7 versions & 1 rubygems