Skip to content

Commit 415155c

Browse files
committed
Remove dependency checking plugin cause SwiftPM runs it too eagerly (for targets that aren't even in the current minimal dependency tree)
1 parent 09d6a23 commit 415155c

File tree

3 files changed

+3
-107
lines changed

3 files changed

+3
-107
lines changed

Package.swift

+2-8
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ let package = Package(
7777
.target(name: "AppKitBackend", dependencies: ["SwiftCrossUI"]),
7878
.target(
7979
name: "QtBackend",
80-
dependencies: ["SwiftCrossUI", .product(name: "Qlift", package: "qlift")],
81-
plugins: ["DependencyCheckingPlugin"]
80+
dependencies: ["SwiftCrossUI", .product(name: "Qlift", package: "qlift")]
8281
),
8382
.target(
8483
name: "CursesBackend",
@@ -94,8 +93,7 @@ let package = Package(
9493
),
9594
.target(
9695
name: "GtkBackend",
97-
dependencies: ["SwiftCrossUI", "Gtk", "CGtk"],
98-
plugins: ["DependencyCheckingPlugin"]
96+
dependencies: ["SwiftCrossUI", "Gtk", "CGtk"]
9997
),
10098
.systemLibrary(
10199
name: "CGtk",
@@ -117,10 +115,6 @@ let package = Package(
117115
"XMLCoder", .product(name: "SwiftSyntaxBuilder", package: "swift-syntax"),
118116
]
119117
),
120-
.plugin(
121-
name: "DependencyCheckingPlugin",
122-
capability: .buildTool()
123-
),
124118
]
125119
)
126120

Plugins/DependencyCheckingPlugin/DependencyCheckingPlugin.swift

-98
This file was deleted.

format_and_lint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
swift format format --in-place --recursive --configuration .swift-format Sources Examples/Sources Plugins
1+
swift format format --in-place --recursive --configuration .swift-format Sources Examples/Sources
22
swiftlint lint --quiet

0 commit comments

Comments
 (0)