File: updateFormat.sh

package info (click to toggle)
budgie-desktop 10.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,456 kB
  • sloc: ansic: 19,558; xml: 1,433; sh: 165; makefile: 31; perl: 19; python: 8
file content (11 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Ensure we're formatted everywhere.
clang-format -i $(find src -name '*.[ch]' -not -path '*/gvc/*')

# Check we have no typos.
which misspell 2>/dev/null >/dev/null
if [[ $? -eq 0 ]]; then
    misspell -error `find src -name '*.[ch]' -not -path '*/gvc/*'`
    misspell -error `find src -name '*.vala' -not -path '*/gvc/*'`
fi