Skip to content

Commit bb6f682

Browse files
committed
Add run-format script
1 parent fcde0f8 commit bb6f682

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

run-format.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
3+
4+
shopt -s globstar
5+
6+
clang-format -style=file -i src/**/*.{cpp,h}

0 commit comments

Comments
 (0)