Skip to content

Commit 6c216d4

Browse files
committed
fix format
1 parent 2298702 commit 6c216d4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ benchmark:
5252
swift-composable-architecture-benchmark
5353

5454
format:
55-
swift format \
56-
--ignore-unparsable-files \
57-
--in-place \
58-
--recursive \
59-
./Examples ./Package.swift ./Sources ./Tests
55+
find . \
56+
-path '*/Documentation.docc' -prune -o \
57+
-name '*.swift' \
58+
-not -path '*/.*' -print0 \
59+
| xargs -0 swift format --ignore-unparsable-files --in-place
6060

6161
.PHONY: format test-all test-swift test-workspace
6262

0 commit comments

Comments
 (0)