File tree Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 11.build /
22.swiftpm /
3- UseCases /.build /
4- UseCases /.swiftpm /
Original file line number Diff line number Diff line change 22
33--swiftversion 5.0
44--exclude .build
5- --exclude UseCases/.build
65--exclude Tests/LinuxMain.swift
76--exclude **/*Tests+XCTest.swift
87
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ printf "=> Checking format\n"
2121FIRST_OUT=" $( git status --porcelain) "
2222# swiftformat does not scale so we loop ourselves
2323shopt -u dotglob
24- find Sources/* Tests/* IntegrationTests/* UseCases/ * -type d | while IFS= read -r d; do
24+ find Sources/* Tests/* IntegrationTests/* -type d | while IFS= read -r d; do
2525 printf " * checking $d ... "
2626 out=$( swiftformat $d 2>&1 )
2727 SECOND_OUT=" $( git status --porcelain) "
Original file line number Diff line number Diff line change 109109 (
110110 cd " $here /.."
111111 find . \
112- \( \! -path ' ./UseCases/.build/*' -a \
113112 \( \! -path ' ./.build/*' \) -a \
114113 \( " ${matching_files[@]} " \) -a \
115114 \( \! \( " ${exceptions[@]} " \) \) \) | while read line; do
You can’t perform that action at this time.
0 commit comments