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 1
1
.build /
2
2
.swiftpm /
3
- UseCases /.build /
4
- UseCases /.swiftpm /
Original file line number Diff line number Diff line change 2
2
3
3
--swiftversion 5.0
4
4
--exclude .build
5
- --exclude UseCases/.build
6
5
--exclude Tests/LinuxMain.swift
7
6
--exclude **/*Tests+XCTest.swift
8
7
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ printf "=> Checking format\n"
21
21
FIRST_OUT=" $( git status --porcelain) "
22
22
# swiftformat does not scale so we loop ourselves
23
23
shopt -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
25
25
printf " * checking $d ... "
26
26
out=$( swiftformat $d 2>&1 )
27
27
SECOND_OUT=" $( git status --porcelain) "
Original file line number Diff line number Diff line change 109
109
(
110
110
cd " $here /.."
111
111
find . \
112
- \( \! -path ' ./UseCases/.build/*' -a \
113
112
\( \! -path ' ./.build/*' \) -a \
114
113
\( " ${matching_files[@]} " \) -a \
115
114
\( \! \( " ${exceptions[@]} " \) \) \) | while read line; do
You can’t perform that action at this time.
0 commit comments