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-15549] Relative paths to local dependencies not working on Windows #4373

Open
swift-ci opened this issue Dec 3, 2021 · 1 comment
Open
Labels

Comments

@swift-ci
Copy link
Contributor

swift-ci commented Dec 3, 2021

Previous ID SR-15549
Radar None
Original Reporter svanimpe (JIRA User)
Type Bug
Environment

Swift 5.5.1 on Windows 11

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: d19a8c53abcfbf8e98772ec2726d18dc

duplicates:

  • SR-13996 [Windows] Package dependency with path to parent dir resolves incorrectly

Issue Description:

When I specify a local dependency as .package(path: "../other-package") (or using a double backslash instead of a forward slash) the .. seems to get ignored.

The output of swift package describe --type json and swift package dump-package shows the path to other-package as:

C:\Users\me\path-to-my-package\other-package

and not:

C:\Users\me\path-to\other-package

@stevapple
Copy link
Contributor

@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
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

3 participants