Sha256: f3ff22d38b654b6cedc026958add914cc97464f590a628e03c60a05a89b013bf
Contents?: true
Size: 419 Bytes
Versions: 250
Compression:
Stored size: 419 Bytes
Contents
#!/bin/sh # # Indents all .c and .h files in the project that are not vendor code (ie: Unity). # 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
250 entries across 250 versions & 1 rubygems