We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
checkformat.bash
1 parent b218fd6 commit 4ea15edCopy full SHA for 4ea15ed
.github/workflows/checkformat.yml
@@ -16,4 +16,4 @@ jobs:
16
- name: Check format
17
run: |
18
sudo apt install clang-format
19
- contrib/checkformat.bash
+ contrib/checkformat.sh
contrib/checkformat.bash contrib/checkformat.shcontrib/checkformat.bash renamed to contrib/checkformat.sh
@@ -1,10 +1,10 @@
1
-#!/usr/bin/env bash
+#!/usr/bin/env sh
2
3
# SPDX-License-Identifier: MIT
4
5
clang-format --version
6
7
-find . -type f \( -iname '*.hpp' -o -iname '*.cpp' \) -exec clang-format -i {} +
+find . -type f -iname '*.[ch]pp' -exec clang-format -i {} +
8
9
if ! git diff-index --quiet HEAD --; then
10
echo 'Unformatted files:'
0 commit comments