I have a package which I have been developing while using v0.5. Now that I would like to prepare it for v0.6. I have both versions of Julia running on my computer just fine.
I would prefer to keep fix things in a single codebase (using Compat.jl, this looks feasible). The problem is that the different Julia versions look for the package in different subdirectories of ~/.julia. What’s a good solution for this (on Linux, if it needs to be specific?) I thought of
- making a symlink in
~/.julia/v0.6/to the relevant directory in~/.julia/v0.5/, - putting the repo somewhere else and putting that in
LOAD_PATH.
But both of these look inelegant. Suggestions are welcome.