Skip to content

Commit 065abe6

Browse files
committed
Change all library types to automatic
`automatic` and `static` currently have the same behavior in SwiftPM and we should allow flexibility here, there’s no reason to specify that the libraries need to be `static`.
1 parent ab0015f commit 065abe6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Package.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ let package = Package(
3838
.macCatalyst(.v13),
3939
],
4040
products: [
41-
.library(name: "IDEUtils", type: .static, targets: ["IDEUtils"]),
42-
.library(name: "SwiftCompilerPlugin", type: .static, targets: ["SwiftCompilerPlugin"]),
43-
.library(name: "SwiftCompilerPluginMessageHandling", type: .static, targets: ["SwiftCompilerPluginMessageHandling"]),
44-
.library(name: "SwiftDiagnostics", type: .static, targets: ["SwiftDiagnostics"]),
45-
.library(name: "SwiftOperators", type: .static, targets: ["SwiftOperators"]),
46-
.library(name: "SwiftParser", type: .static, targets: ["SwiftParser"]),
47-
.library(name: "SwiftParserDiagnostics", type: .static, targets: ["SwiftParserDiagnostics"]),
48-
.library(name: "SwiftRefactor", type: .static, targets: ["SwiftRefactor"]),
49-
.library(name: "SwiftSyntax", type: .static, targets: ["SwiftSyntax"]),
50-
.library(name: "SwiftSyntaxBuilder", type: .static, targets: ["SwiftSyntaxBuilder"]),
51-
.library(name: "SwiftSyntaxMacros", type: .static, targets: ["SwiftSyntaxMacros"]),
52-
.library(name: "SwiftSyntaxParser", type: .static, targets: ["SwiftSyntaxParser"]),
41+
.library(name: "IDEUtils", targets: ["IDEUtils"]),
42+
.library(name: "SwiftCompilerPlugin", targets: ["SwiftCompilerPlugin"]),
43+
.library(name: "SwiftCompilerPluginMessageHandling", targets: ["SwiftCompilerPluginMessageHandling"]),
44+
.library(name: "SwiftDiagnostics", targets: ["SwiftDiagnostics"]),
45+
.library(name: "SwiftOperators", targets: ["SwiftOperators"]),
46+
.library(name: "SwiftParser", targets: ["SwiftParser"]),
47+
.library(name: "SwiftParserDiagnostics", targets: ["SwiftParserDiagnostics"]),
48+
.library(name: "SwiftRefactor", targets: ["SwiftRefactor"]),
49+
.library(name: "SwiftSyntax", targets: ["SwiftSyntax"]),
50+
.library(name: "SwiftSyntaxBuilder", targets: ["SwiftSyntaxBuilder"]),
51+
.library(name: "SwiftSyntaxMacros", targets: ["SwiftSyntaxMacros"]),
52+
.library(name: "SwiftSyntaxParser", targets: ["SwiftSyntaxParser"]),
5353
],
5454
targets: [
5555
// MARK: - Internal helper targets

0 commit comments

Comments
 (0)