Pkg.jl: dev . in nested directories

Created on 17 Apr 2019  路  3Comments  路  Source: JuliaLang/Pkg.jl

If you do dev . in a deeply nested directory containing a package, it adds the package with a path like ../../../../home/cossio/ ..., that is, it traveses back up to the root directory and then goes back in. It would be nicer if it just computed a clean absolute path and used it.

Most helpful comment

This is a feature, . is a relative path and we thus record the path relative the project.

All 3 comments

This is a feature, . is a relative path and we thus record the path relative the project.

I see. Is there a way to get an absolute path to the current directory (without having to type it) instead of a relative one (like .)?

Pkg.develop(PackageSpec(path = pwd()))
Was this page helpful?
0 / 5 - 0 ratings

Related issues

jlperla picture jlperla  路  3Comments

omus picture omus  路  4Comments

KristofferC picture KristofferC  路  4Comments

KristofferC picture KristofferC  路  4Comments

jebej picture jebej  路  3Comments