mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Make a couple parameters in the BuildTarget initializer defaulted
This commit is contained in:
@@ -512,7 +512,6 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
|
||||
return BuildTarget(
|
||||
id: targetId,
|
||||
displayName: target.name,
|
||||
baseDirectory: nil,
|
||||
tags: tags,
|
||||
capabilities: BuildTargetCapabilities(),
|
||||
// Be conservative with the languages that might be used in the target. SourceKit-LSP doesn't use this property.
|
||||
@@ -526,7 +525,6 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
|
||||
BuildTarget(
|
||||
id: .forPackageManifest,
|
||||
displayName: "Package.swift",
|
||||
baseDirectory: nil,
|
||||
tags: [.notBuildable],
|
||||
capabilities: BuildTargetCapabilities(),
|
||||
languageIds: [.swift],
|
||||
|
||||
Reference in New Issue
Block a user