Vita3K/format.sh
Samuel Gräfenstein d68067bef8
scripts: Get Bash from /usr/bin/env (#647)
Not all *Nix systems have Bash located at /bin/bash, this fixes building Vita3k
on them.
2020-01-30 21:31:30 +02:00

5 lines
132 B
Bash
Executable file

#!/usr/bin/env bash
set -ex
find vita3k tools/gen-modules tools/native-tool \( -name *.cpp -o -name *.h \) | xargs clang-format -i