Skip to content

Commit 4019a6e

Browse files
authored
Declare TestHelpers as a test target (#6300)
1 parent 32cf983 commit 4019a6e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313
### Enhancements
1414

15-
* None.
15+
* Declare `TestHelpers` as a test target in `Package.swift` to avoid building
16+
and linking it in release mode.
17+
[SimplyDanny](https://github.com/SimplyDanny)
18+
[#6299](https://github.com/realm/SwiftLint/issues/6299)
1619

1720
### Bug Fixes
1821

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ let package = Package(
216216
],
217217
swiftSettings: swiftFeatures + strictConcurrency
218218
),
219-
.target(
219+
.testTarget(
220220
name: "TestHelpers",
221221
dependencies: [
222222
"SwiftLintFramework"

0 commit comments

Comments
 (0)