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

Version Path
trackler-2.2.1.32 tracks/c/indent.sh
trackler-2.2.1.31 tracks/c/indent.sh
trackler-2.2.1.30 tracks/c/indent.sh
trackler-2.2.1.29 tracks/c/indent.sh
trackler-2.2.1.28 tracks/c/indent.sh
trackler-2.2.1.27 tracks/c/indent.sh
trackler-2.2.1.26 tracks/c/indent.sh
trackler-2.2.1.25 tracks/c/indent.sh
trackler-2.2.1.24 tracks/c/indent.sh
trackler-2.2.1.23 tracks/c/indent.sh
trackler-2.2.1.22 tracks/c/indent.sh
trackler-2.2.1.21 tracks/c/indent.sh
trackler-2.2.1.20 tracks/c/indent.sh
trackler-2.2.1.19 tracks/c/indent.sh
trackler-2.2.1.18 tracks/c/indent.sh
trackler-2.2.1.17 tracks/c/indent.sh
trackler-2.2.1.16 tracks/c/indent.sh
trackler-2.2.1.15 tracks/c/indent.sh
trackler-2.2.1.14 tracks/c/indent.sh
trackler-2.2.1.13 tracks/c/indent.sh