Skip to content

Commit 447ac7c

Browse files
authored
chore: drop SwiftFormat and use swift-format from Apple (#562)
1 parent 49ca2cb commit 447ac7c

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.swiftformat

Lines changed: 0 additions & 11 deletions
This file was deleted.

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,12 @@ build-example:
149149
-destination platform="$(PLATFORM_IOS)" \
150150
-derivedDataPath ~/.derivedData | xcpretty;
151151

152+
152153
format:
153-
@swiftformat .
154+
@swift format -i -r --ignore-unparsable-files .
154155

155-
.PHONY: test-library test-linux build-example format
156+
.PHONY: test-library test-linux build-example
156157

157158
define udid_for
158159
$(shell xcrun simctl list devices available '$(1)' | grep '$(2)' | sort -r | head -1 | awk -F '[()]' '{ print $$(NF-3) }')
159-
endef
160+
endef

0 commit comments

Comments
 (0)