Skip to content

Commit 5655376

Browse files
committed
Fix: Silence SwiftPM unhandled-file warning in StringZillaTests
Both `StringZilla` and `StringZillaTests` use `path: "swift"`. The former excludes `Test.swift`; the latter only set `sources:` but did not exclude the sibling source, so SwiftPM emitted warning: 'stringzilla': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target .../swift/StringProtocol+StringZilla.swift on every macOS Pre-Release run. Add the symmetric `exclude:` entry to the test target.
1 parent 9dd039c commit 5655376

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ let package = Package(
4242
name: "StringZillaTests",
4343
dependencies: ["StringZilla"],
4444
path: "swift",
45+
exclude: ["StringProtocol+StringZilla.swift"],
4546
sources: ["Test.swift"]
4647
),
4748
],

0 commit comments

Comments
 (0)