tkf / Run.jl

MIT License
19 stars 0 forks source link

Still `dev` parent project even if `$(projectpath)/Manifest.toml` exists? #18

Open goretkin opened 4 years ago

goretkin commented 4 years ago

I am running into a package version resolution problem for which a solution is to use an unregistered commit of a registered package. So in the parent project, I do ]add add VPTrees#e0e91d2fa. For better or for worse, this information is only reflected in $(parentproject)/Manifest.toml, so as far as I know, I need to re-do this for the project at projectpath.

But then when I do Run.prepare(projectpath, "."), the dev command is not issued according to the docstring https://github.com/tkf/Run.jl/blob/d7daaff51106b895685e6e17768b7dcb886d691d/src/core.jl#LL62-L73

and according to the behavior I observe.

I can't do the add later, because the dev . command will fail with ERROR: Unsatisfiable requirements detected for package ...

If there is a different way to go about it, I'd be happy to do that.