Skip to content

Commit 7041ed8

Browse files
committed
Add a platform-agnostic macro testing module that doesn’t depend on XCTest or Foundation
rdar://119519713
1 parent 0b890bb commit 7041ed8

File tree

2 files changed

+666
-0
lines changed

2 files changed

+666
-0
lines changed

Package.swift

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,20 @@ let package = Package(
227227
]
228228
),
229229

230+
// MARK: SwiftSyntaxMacrosTestSupportFrameworkAgnostic
231+
232+
.target(
233+
name: "SwiftSyntaxMacrosTestSupportFrameworkAgnostic",
234+
dependencies: [
235+
"_SwiftSyntaxTestSupportFrameworkAgnostic",
236+
"SwiftDiagnostics",
237+
"SwiftIDEUtils",
238+
"SwiftParser",
239+
"SwiftSyntaxMacros",
240+
"SwiftSyntaxMacroExpansion",
241+
]
242+
),
243+
230244
.testTarget(
231245
name: "SwiftSyntaxMacrosTestSupportTests",
232246
dependencies: ["SwiftDiagnostics", "SwiftSyntax", "SwiftSyntaxMacros", "SwiftSyntaxMacrosTestSupport"]

0 commit comments

Comments
 (0)