mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
15 lines
316 B
Bash
Executable File
15 lines
316 B
Bash
Executable File
#! /bin/bash
|
|
|
|
# Save current directory
|
|
DIR=$(pwd)
|
|
|
|
# Change to the directory passed as argument if any
|
|
if [ $# -eq 1 ]; then
|
|
cd $1
|
|
fi
|
|
|
|
# Reformat whole tree.
|
|
# This is run by the reformat target.
|
|
git ls-files -z '*.cpp' '*.h' '*.inl' ':(exclude)External/*' | xargs -0 -n 1 -P $(nproc) clang-format-19 -i
|
|
cd $DIR
|