File: indent.sh

package info (click to toggle)
stringencoders 3.10.3%2Bgit20160924-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,144 kB
  • ctags: 725
  • sloc: ansic: 17,159; cpp: 407; python: 319; makefile: 179; sh: 34
file content (9 lines) | stat: -rwxr-xr-x 172 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -ex
if [ -z "${INDENT}" ]; then
  INDENT=clang-format
fi
${INDENT} --version
find . -name '*.[ch]' | xargs ${INDENT} -i -style=WebKit
git status --porcelain