forked from jaildesigner-jailgames/jaildoctors_dilemma
9 lines
290 B
Plaintext
9 lines
290 B
Plaintext
# Per a un fitxer, desde l'arrel del projecte executar:
|
|
clang-tidy source/fitxer.cpp -p build/ --fix
|
|
|
|
# Per a varios fitxers, desde l'arrel:
|
|
find source/ \( -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) | \
|
|
xargs -P4 -I{} bash -c 'echo "Procesando: {}"; clang-tidy {} -p build/ --fix'
|
|
|
|
|