diff options
| author | Aaron Barnes <[email protected]> | 2024-07-16 12:33:16 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-16 18:33:16 +0000 |
| commit | e1afc53b51d24afcfd8b8aab15e4ba5d99b4a772 (patch) | |
| tree | ffd07cc1a81884761c5b16089b3fc5937cb58b1d /format-code.sh | |
| parent | 55419d7098a433122bf4d940cf38af17e33f045a (diff) | |
Auto clang format (#74)
* add automated clang formatter
* Automated clang-format
* use /bin/bash and add print
* use default checkout ref
* Format only after tests are success
* Run CI on merge group
---------
Co-authored-by: barnes88 <[email protected]>
Co-authored-by: JRPAN <[email protected]>
Diffstat (limited to 'format-code.sh')
| -rwxr-xr-x | format-code.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/format-code.sh b/format-code.sh index ac753f0..acd33ab 100755 --- a/format-code.sh +++ b/format-code.sh @@ -1,5 +1,6 @@ # This bash script formats GPGPU-Sim using clang-format THIS_DIR="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )" +echo "Running clang-format on $THIS_DIR" clang-format -i ${THIS_DIR}/libcuda/*.h clang-format -i ${THIS_DIR}/libcuda/*.cc clang-format -i ${THIS_DIR}/src/*.h |
