Luna/tools/run-clang-format.sh

14 lines
151 B
Bash
Executable File

#!/usr/bin/env bash
set -e
source $(dirname $0)/env.sh
cd $LUNA_ROOT
source tools/sources.sh
for f in ${SOURCES[@]}
do
clang-format $f -i
done