Skip to content

Remove invalid exclude statements from testTarget - #514

Merged
kukushechkin merged 2 commits into
apple:mainfrom
mitras-git:fix/invalid-cmake-excludes
Sep 17, 2026
Merged

kukushechkin merged 2 commits into
apple:mainfrom
mitras-git:fix/invalid-cmake-excludes

Conversation

@mitras-git

Copy link
Copy Markdown
Contributor

I removed the stale exclude statements from Package.swift and Package@swift-6.1.swift

Motivation:

In #485, CMake build support was added, as part of it, 99c554b added exclude: ["CMakeLists.txt"] to all four SwiftPM targets, including tests, but the CI was revealing some issues with CMake test-targets. So after review, in 4a81108 the CMake build files were removed from the /Tests directory but I accidentally left behind the exclusions in the package manifests.

Modifications:

Removed the exclude statements from Package.swift and Package@swift-6.1.swift.

Result:

No SwiftPM errors!

Fixes: #513

@kukushechkin kukushechkin added the 🔨 semver/patch No public API change. label Sep 16, 2026

@kukushechkin kukushechkin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mitras-git great, thank you for fixing this!

@kukushechkin
kukushechkin enabled auto-merge (squash) September 16, 2026 17:37
@kukushechkin

Copy link
Copy Markdown
Contributor

@mitras-git ah, some formatting is necessary, check the CI: https://github.com/apple/swift-log/actions/runs/35123590271/job/104906093780?pr=514

auto-merge was automatically disabled September 17, 2026 15:44

Head branch was pushed to by a user without write access

@kukushechkin
kukushechkin enabled auto-merge (squash) September 17, 2026 16:21
@kukushechkin
kukushechkin merged commit cf3e828 into apple:main Sep 17, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SwiftPM throwing "Invalid Exclude" statements when building with swift build

2 participants