Reputation: 14501
I am reading through the docs for working with local packages and it is unclear as to what syntax I would use to add a locally developed package. My package currently has a git repo but I want to point the dev version to the local copy as the one on git is not up to date. I read the docs here: https://pkgdocs.julialang.org/v1/managing-packages/#Adding-a-local-package but they do not specific the syntax to use. I tried something like:
mypackage) pkg> dev /Users/myuser/Desktop/mypackage
ERROR: package `mypackage [6b2b467d]` has the same name or UUID as the active project
Is this the right syntax or am I missing something?
Upvotes: 3
Views: 2513
Reputation: 14501
It turns out that you can't dev the package locally if it is already activated. I switch to my default 1.6 environment and:
(@v1.6) pkg> dev /Users/myuser/Desktop/mypackage
worked!
Upvotes: 6