From c404c80291ebca65b80ce0c78a26a47be5c05d3e Mon Sep 17 00:00:00 2001 From: Jan Ciesko Date: Wed, 16 Aug 2023 12:46:44 -0600 Subject: [PATCH] Update apply-clang-format to match Kokkos' apply-clang-format --- scripts/apply-clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apply-clang-format b/scripts/apply-clang-format index 53a249ee..d796ea70 100755 --- a/scripts/apply-clang-format +++ b/scripts/apply-clang-format @@ -21,7 +21,6 @@ fi BASE_DIR="$(git rev-parse --show-toplevel)" cd $BASE_DIR -echo "${BASE_DIR}" if [ ! -f "scripts/apply-clang-format" ]; then echo "*** The indenting script must be executed from within the Kokkos clone!" exit 1 @@ -39,3 +38,4 @@ TRACKED_FILES="$(git ls-tree HEAD --name-only)" find ${TRACKED_FILES} \ -type f \( -name "*.md" -o -name "*.cc" -o -name "*.h" -o -name "*.txt" -o -name "*.cmake" \) | xargs -n 1 -P 10 -I {} bash -c "sed -i -e 's/\s\+$//g' {} && rm -f '{}-e'" +