Skip to content

Commit 1acbfc3

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 9876a95 commit 1acbfc3

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
@@ -45,18 +45,18 @@ let package = Package(
4545
.macCatalyst(.v13),
4646
],
4747
products: [
48-
.library(name: "SwiftCompilerPlugin", type: .static, targets: ["SwiftCompilerPlugin"]),
49-
.library(name: "SwiftCompilerPluginMessageHandling", type: .static, targets: ["SwiftCompilerPluginMessageHandling"]),
50-
.library(name: "SwiftDiagnostics", type: .static, targets: ["SwiftDiagnostics"]),
51-
.library(name: "SwiftIDEUtils", type: .static, targets: ["SwiftIDEUtils"]),
52-
.library(name: "SwiftOperators", type: .static, targets: ["SwiftOperators"]),
53-
.library(name: "SwiftParser", type: .static, targets: ["SwiftParser"]),
54-
.library(name: "SwiftParserDiagnostics", type: .static, targets: ["SwiftParserDiagnostics"]),
55-
.library(name: "SwiftRefactor", type: .static, targets: ["SwiftRefactor"]),
56-
.library(name: "SwiftSyntax", type: .static, targets: ["SwiftSyntax"]),
57-
.library(name: "SwiftSyntaxBuilder", type: .static, targets: ["SwiftSyntaxBuilder"]),
58-
.library(name: "SwiftSyntaxMacros", type: .static, targets: ["SwiftSyntaxMacros"]),
59-
.library(name: "SwiftSyntaxMacrosTestSupport", type: .static, targets: ["SwiftSyntaxMacrosTestSupport"]),
48+
.library(name: "SwiftCompilerPlugin", targets: ["SwiftCompilerPlugin"]),
49+
.library(name: "SwiftCompilerPluginMessageHandling", targets: ["SwiftCompilerPluginMessageHandling"]),
50+
.library(name: "SwiftDiagnostics", targets: ["SwiftDiagnostics"]),
51+
.library(name: "SwiftIDEUtils", targets: ["SwiftIDEUtils"]),
52+
.library(name: "SwiftOperators", targets: ["SwiftOperators"]),
53+
.library(name: "SwiftParser", targets: ["SwiftParser"]),
54+
.library(name: "SwiftParserDiagnostics", targets: ["SwiftParserDiagnostics"]),
55+
.library(name: "SwiftRefactor", targets: ["SwiftRefactor"]),
56+
.library(name: "SwiftSyntax", targets: ["SwiftSyntax"]),
57+
.library(name: "SwiftSyntaxBuilder", targets: ["SwiftSyntaxBuilder"]),
58+
.library(name: "SwiftSyntaxMacros", targets: ["SwiftSyntaxMacros"]),
59+
.library(name: "SwiftSyntaxMacrosTestSupport", targets: ["SwiftSyntaxMacrosTestSupport"]),
6060
],
6161
targets: [
6262
// MARK: - Internal helper targets

0 commit comments

Comments
 (0)