Skip to content

Commit

Permalink
build: fix just fmt-clang recipe on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmera committed Apr 5, 2024
1 parent 6ba2918 commit 6362c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fmt-clang:
find {{ justfile_directory() }} -type f \
| grep -v "^{{ justfile_directory() / "vendor" }}" \
| grep -v "^{{ justfile_directory() / "target" }}" \
| grep -E ".*\.(c|h|C|H|cpp|hpp|cc|hh|c++|h++|cxx|hxx)$"
| grep -E ".*\.(c|h|C|H|cpp|hpp|cc|hh|c\+\+|h\+\+|cxx|hxx)$"
)
printf '%s\n' "${FILES}" | xargs -L1 clang-format --verbose -style=file -i
Expand All @@ -75,7 +75,7 @@ fmt-clang-check:
find {{ justfile_directory() }} -type f \
| grep -v "^{{ justfile_directory() / "vendor" }}" \
| grep -v "^{{ justfile_directory() / "target" }}" \
| grep -E ".*\.(c|h|C|H|cpp|hpp|cc|hh|c++|h++|cxx|hxx)$"
| grep -E ".*\.(c|h|C|H|cpp|hpp|cc|hh|c\+\+|h\+\+|cxx|hxx)$"
)
check() {
Expand Down

0 comments on commit 6362c1c

Please sign in to comment.