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-12979] Create an environment variable which is the path to the root directory of integrated Swift Packages #4534

Open
swift-ci opened this issue Jun 11, 2020 · 1 comment
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-12979
Radar None
Original Reporter Alipacman (JIRA User)
Type Task
Additional Detail from JIRA
Votes 1
Component/s Package Manager
Labels Task
Assignee None
Priority Medium

md5: 88d8b09347b906a26b84479a6f3a500b

Issue Description:

It would be convenient to have an environment variable which is the path to the root directory of integrated Swift Packages.

One example where it would be handy is to be able to access files during a run script in the Build Phase, e.g:
cat "$PACKAGE_ROOT/myLibary/...

The CocoaPods variant is:
cat "$PODS_ROOT/myLibary/...

@swift-ci
Copy link
Contributor Author

Comment by Patrick Beard (JIRA)

You might be interested in this:

#3794

@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

2 participants