| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | echoscip-shell system . . echo. "Formatting code..." |
| 4 | |
| 5 | findscip-shell system . . find. . -type d -name 3rdparty -prune -o -type f \( -name "*\.h" -o -name "*\.cpp" \) -print0 | xargsscip-shell system . . xargs. -0 -I '{}' sh -c "clang-format -i {}; echo -n '.'" |
| 6 | |
| 7 | echoscip-shell system . . echo. "Done." |