diff options
Diffstat (limited to 'format-code.sh')
| -rwxr-xr-x | format-code.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/format-code.sh b/format-code.sh index acd33ab..b83510d 100755 --- a/format-code.sh +++ b/format-code.sh @@ -1,13 +1,13 @@ # 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 -clang-format -i ${THIS_DIR}/src/*.cc -clang-format -i ${THIS_DIR}/src/gpgpu-sim/*.h -clang-format -i ${THIS_DIR}/src/gpgpu-sim/*.cc -clang-format -i ${THIS_DIR}/src/cuda-sim/*.h -clang-format -i ${THIS_DIR}/src/cuda-sim/*.cc -clang-format -i ${THIS_DIR}/src/accelwattch/*.h -clang-format -i ${THIS_DIR}/src/accelwattch/*.cc
\ No newline at end of file +clang-format -i ${THIS_DIR}/libcuda/*.h --style=file:${THIS_DIR}/.clang-format +clang-format -i ${THIS_DIR}/libcuda/*.cc --style=file:${THIS_DIR}/.clang-format +clang-format -i ${THIS_DIR}/src/*.h --style=file:${THIS_DIR}/.clang-format +clang-format -i ${THIS_DIR}/src/*.cc --style=file:${THIS_DIR}/.clang-format +clang-format -i ${THIS_DIR}/src/gpgpu-sim/*.h --style=file:${THIS_DIR}/.clang-format +clang-format -i ${THIS_DIR}/src/gpgpu-sim/*.cc --style=file:${THIS_DIR}/.clang-format +clang-format -i ${THIS_DIR}/src/cuda-sim/*.h --style=file:${THIS_DIR}/.clang-format +clang-format -i ${THIS_DIR}/src/cuda-sim/*.cc --style=file:${THIS_DIR}/.clang-format +clang-format -i ${THIS_DIR}/src/accelwattch/*.h --style=file:${THIS_DIR}/.clang-format +clang-format -i ${THIS_DIR}/src/accelwattch/*.cc --style=file:${THIS_DIR}/.clang-format |
