Skip to content

[SR-12979] Create an environment variable which is the path to the root directory of integrated Swift Packages #4534

Open
@swift-ci

Description

@swift-ci
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/...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions