Hwee-Boon Yar
Hwee-Boon Yar
Maybe more efficient like this: ``` ./Pods/SwiftFormat/CommandLineTool/swiftformat \ \ ```
> Once a file is under SwiftFormat, it will stay under its control. Until `.swiftformat` is modified :)
Yes it would, that's the problem. Say we change indentation from 4 to 2 and there are 200 files being modified.
Just use the script like you described? This version: https://github.com/AlphaWallet/alpha-wallet-ios/issues/6583#issuecomment-1502629552 Then when we need to roll out again, just need to "reset" by modifying the script to include 0 files...
> If this is part of the build phase as a script, it will always format the file when we build. I know. But we are talking about different things....
Sure, go for it
Could also be a good way to figure out if there's anything else to format…
You suggested this: > I'd suggest we next look at > braces > sortedImports Shall we try them?
*or* would you like me to look at all the rules at one go and tweak the `.swiftformat` file, aiming to get the file done at one go?