diff --git a/.swiftformat b/.swiftformat deleted file mode 100644 index 9328c32fb..000000000 --- a/.swiftformat +++ /dev/null @@ -1,11 +0,0 @@ ---swiftversion 5.9 ---binarygrouping none ---decimalgrouping none ---hexgrouping none ---indent 2 ---octalgrouping none ---semicolons never ---wraparguments before-first ---wrapcollections before-first ---wrapparameters before-first ---extensionacl on-declarations diff --git a/Makefile b/Makefile index e405f8c46..f4e8f16eb 100644 --- a/Makefile +++ b/Makefile @@ -149,11 +149,12 @@ build-example: -destination platform="$(PLATFORM_IOS)" \ -derivedDataPath ~/.derivedData | xcpretty; + format: - @swiftformat . + @swift format -i -r --ignore-unparsable-files . -.PHONY: test-library test-linux build-example format +.PHONY: test-library test-linux build-example define udid_for $(shell xcrun simctl list devices available '$(1)' | grep '$(2)' | sort -r | head -1 | awk -F '[()]' '{ print $$(NF-3) }') -endef \ No newline at end of file +endef