We’re using a monorepo to maintain our julia packages, with a directory structure along the lines of:
julia PackageOne PackageTwo PackageThree
I can add these packages to my top-level Project by running
Pkg.develop(path="<path_to_package>") and can subsequently use each package.
I am having trouble having a package depend on another. I’ve tried various versions of Pkg.add, but they all seem to expect each package individually to be a git repo.
With, say, PackageThree activated, I’ve tried:
julia> Pkg.add("PackageOne") Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` Resolving package versions... ERROR: expected package `PackageOne [8b4b255c]` to be registered
julia> Pkg.add(path ="<path_to_package_one>") ERROR: Did not find a git repository at `<path_to_package_one>`
Seeing that I can develop packages at paths, is there a way to also depend on other packages at paths?