Hello.
I know how to add a development version of a registered package
add PackageName#dev
Also, I know how to add an unregistered package
Pkg.add(url="<git path>/PackageName.jl")
However, I have tried lots of ways of trying to combine these to add a development version of an unregistered package, but noting I have tried has worked.
Is what I would like to do even possible?
Thanks for any help
Not sure why you use the Pkg REPL-mode when only specifying the git revision, but not for the url/unregistered package.
In the Pkg REPL-mode, you add the package with:
(@v1.5) pkg> add <git path>/PackageName.jl#dev
With Pkg.add
, you provide the rev
keyword argument as well to specify the git revision:
Pkg.add(url="<git path>/PackageName.jl", rev="dev")
1 Like
Thanks so much! I looked for quite a while and could not find any explanation of that combination.