Skip to content

Commit

Permalink
Skip build directories
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster committed Oct 27, 2023
1 parent 8b2bef7 commit fa36100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cpp-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
echo "✅ $file is properly formatted."
else
echo "❌ $file is not properly formatted. Please run clang-format in the sphericart root directory with"
echo "find . -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" -o -name "*.cu" -o -name "*.cuh" | xargs clang-format -i"
echo "find . \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" -o -name "*.cu" -o -name "*.cuh" \) -not -path "*/build/*" | xargs clang-format -i"
exit 1
fi
done

0 comments on commit fa36100

Please sign in to comment.