upscheme/scripts/format.sh

7 lines
148 B
Bash
Executable File

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