File: indent.sh

package info (click to toggle)
stringencoders 3.10.3%2Bgit20180306-1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,132 kB
  • sloc: ansic: 17,159; javascript: 1,067; cpp: 407; python: 319; makefile: 180; 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