upscheme/scripts/format.sh

7 lines
148 B
Bash
Raw Normal View History

#!/bin/sh
set -eu
cd "$(dirname "$0")"/..
echo "Entering directory '$PWD'"
set -x
find . -name "[^.]*.[ch]" | sort | xargs clang-format -verbose -i