When I dev
a local, unregistered package (a Git repo), I don’t see a way to free
it.
Here’s what I tried:
]add C:\\Users\\Tucker\\Desktop\\julia-tests\\ANewPackage\\
]dev ANewPackage
ERROR: The following package names could not be resolved:
* ANewPackage (4f451f22-9f79-11e9-0804-effd68d8229a in manifest but not in project)
Please specify by known `name=uuid`.
]dev C:\\Users\\Tucker\\Desktop\\julia-tests\\ANewPackage\\
Resolving package versions...
Updating `C:\Users\Tucker\Desktop\julia-tests\ANotherPackage\Project.toml`
[4f451f22] ~ ANewPackage v0.1.0 #master (C:\\Users\\Tucker\\Desktop\\julia-tests\\ANewPackage\\) ⇒ v0.1.0 [`C:\\Users\\Tucker\\Desktop\\julia-tests\\ANewPackage\\`]
Updating `C:\Users\Tucker\Desktop\julia-tests\ANotherPackage\Manifest.toml`
[4f451f22] ~ ANewPackage v0.1.0 #master (C:\\Users\\Tucker\\Desktop\\julia-tests\\ANewPackage\\) ⇒ v0.1.0 [`C:\\Users\\Tucker\\Desktop\\julia-tests\\ANewPackage\\`]
] free "C:\\Users\\Tucker\\Desktop\\julia-tests\\ANewPackage\\"
ERROR: `C:\\Users\\Tucker\\Desktop\\julia-tests\\ANewPackage\\` cannot be parsed as a package
]free ANewPackage
ERROR: cannot free an unpinned package that does not exist in a registry
I can remove the package and add it again, but that’s clumsy. It seems like perhaps once the package is dev
ed, it only knows about the local path to the files, and hence it doesn’t know how to treat it like a repo any longer? Am I doing anything wrong here, or is there a better way?