Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-7826] SwiftPM should warn if it skips traversing a symlink which would contain sources in it #4805

Closed
ankitspd opened this issue May 31, 2018 · 0 comments
Labels

Comments

@ankitspd
Copy link
Member

Previous ID SR-7826
Radar rdar://problem/34415219
Original Reporter @aciidb0mb3r
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: 67ac10f4be9c44cdf18ae1596b53ef47

duplicates:

  • SR-7824 swiftpm ignores missing source symlinks

Issue Description:

Filed on behalf of @ddunbar:


When making port packages, I usually start off by making the vendored code accessible (e.g., via a submodule) and then symlinking in the code to match SwiftPM’s expected structure.

This works well, but one confusing situation is when you symlink an entire subdirectory, SwiftPM won’t traverse it looking for sources to build. This should probably be a warning.

Something like:

 Package.swift
 vendor/a/foo/foo.c
 Sources/a/foo -> ../../vendor/a/foo

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant