Skip to content

Commit

Permalink
Merge pull request #83 from janciesko/new-apply-cl-f
Browse files Browse the repository at this point in the history
Update apply-clang-format to match Kokkos' apply-clang-format
  • Loading branch information
Rombur authored Aug 18, 2023
2 parents 1aa2825 + c404c80 commit 86505cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/apply-clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'"

0 comments on commit 86505cb

Please sign in to comment.