File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ refer to the main repository, especially [Installation](https://github.com/realm
10
10
> developed there next to SwiftLint as a command-line tool itself. The plugin source code is kept in sync with SwiftLint
11
11
> and so are the releases. Please report issues and propose changes to the plugins in the main source repository.
12
12
13
- Offering the plugins in a separate package has multiple advantages:
13
+ Offering the plugins in a separate package has multiple advantages you should be aware of :
14
14
15
15
* No need to clone the whole SwiftLint repository.
16
16
* SwiftLint itself is included as a binary dependency, thus the consumer doesn't need to build it first.
@@ -19,3 +19,9 @@ Offering the plugins in a separate package has multiple advantages:
19
19
a lot of build time alone.
20
20
* For projects having adopted Swift macros or depend on SwiftSyntax for other reasons, there is no version conflict
21
21
caused by the fact that SwiftLint has to rely on a fixed and pretty current version.
22
+ * As this Swift package doesn't provide any build products, there is no way to add them as dependencies to iOS,
23
+ watchOS, ... targets. They would fail to build if you were to do that.
24
+
25
+ That said, you are perfectly free to consume the plugins directly from the
26
+ [ SwiftLint] ( https://github.com/realm/swiftlint ) repository instead if you like to. Both ways are functionally
27
+ equivalent, however one comes with the aforementioned drawbacks.
You can’t perform that action at this time.
0 commit comments