You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -164,28 +172,8 @@ Format according to this setting only when changes occur.
164
172
|indent|The number of spaces, or `tab` by text|Optional|4|
165
173
|lineBreakBeforeEachArgument|Indicating whether to insert new lines before each function argument|Optional|true|
166
174
167
-
### Targets
168
-
169
-
Defines the several targets by name key that defines different paths or rules to apply.
170
-
Glob paths are allowed for `paths` and `excludedPaths`.
171
-
Each target can runs partially by command with option like follows:
172
-
173
-
```sh
174
-
swift-mod --target [TARGET NAME]
175
-
```
176
-
177
-
|KEY|VALUE|REQUIREMENT|DEFAULT|
178
-
|:-|:-|:-|:-|
179
-
|paths|The file names or paths to be applied rules. The directory is recursively lookup.|Required||
180
-
|excludedPaths|The file name or paths to be ecluded from resolved `paths`|Optional|None|
181
-
|rules|The set of rules to be applied|Required||
182
-
183
175
### Rules
184
176
185
-
Defines a modification rules enabled and its settings.
186
-
All rules are opt-in.
187
-
Rules where all settings are optional can specify only Boolean value indicating whether it's enabled by key `enabled`.
188
-
189
177
#### Default Access Level
190
178
191
179
|IDENTIFIER|OVERVIEW|
@@ -325,8 +313,7 @@ Run command:
325
313
Pods/swift-mod/swift-mod [COMMAND] [OPTIONS]
326
314
```
327
315
328
-
\* If you have changed the name of `Xcode.app` used in toolchain (`xcode-select -p`), `swift-mod` via CocoaPods can't be excuted. Please set the Xcode name to `Xcode.app`. (See: https://forums.swift.org/t/swiftsyntax-with-swift-5-1/29051)
329
-
316
+
\* If you have changed the name of `Xcode.app` used in toolchain (`xcode-select -p`), `swift-mod` via CocoaPods can't be excuted. Please set the Xcode name to `Xcode.app`. (See: <https://forums.swift.org/t/swiftsyntax-with-swift-5-1/29051>)
330
317
331
318
### Swift Version Support
332
319
@@ -339,12 +326,8 @@ So you should use swift-mod version that built with compatible version of Swift
339
326
|5.2 |0.0.4 |
340
327
|5.3 |0.0.5 |
341
328
|5.4 |0.0.6 |
342
-
|5.5 |latest |
343
-
344
-
### Issue on macOS Before 10.14.4
345
-
346
-
Swift tool binary that works with static-stdlib can't running on macOS before 10.14.4.
347
-
You need to update macOS or install the [Swift 5 Runtime Support for Command Line Tools](https://support.apple.com/kb/DL1998).
329
+
|5.5 |0.0.7 |
330
+
|5.6 |latest |
348
331
349
332
---
350
333
@@ -366,12 +349,6 @@ In addition, swift-mod supports running on Linux, so you should test by installi
366
349
make docker-test
367
350
```
368
351
369
-
### Known Issue
370
-
371
-
Currently, swift-mod doesn't works properly with builds in `debug` configuration.
372
-
It may due to stack overflow with tail recursion in the method that enumerating the Swift file paths.
373
-
swift-mod works with optimizing tail recursion by builds in `release` configuration.
0 commit comments