Hive Hive
Sign in

Add support to expand paths starting with ~

GitHub issue · Open

Metadata
Source
tuist/tuist #11693
Updated
Jul 27, 2026
Domains
Generated projects
Details

Hey! Small change but I think a great addition would be to support paths starting with ~ that gets automatically expanded here https://github.com/tuist/tuist/blob/60875ec2017cc7b3b50edaf76cb0046fdb3751ad/cli/Sources/ProjectDescription/Path.swift#L51

Just add another check something like this:

if stringLiteral.starts(with: "~") {
self.init(stringLiteral.replacingOccurrences(of: "~", with: FileManager.default.homeDirectoryForCurrentUser.path), type: .relativeToRoot)
}

Might have to import Foundation framework

EDIT: might not be as easy as I thought

Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments

No GitHub comments yet.