I am using the new
Pkg setup for projects, ie bundles of code which are not necessarily packaged, but serve the a specific purpose (eg accompany a paper). I have some clarifying questions about the workflow.
I set up the directory structure like
ThisProject/ Project.toml Manifest.toml src/ ThisProject.jl # which has "module ThisProject ... end"
Is it OK if I don’t
devthis project in the global environment, just use
shell> cd to/ThisProject/ pkg> activate .
when I am working on it? It seems to work fine so far.
Having things in a module is convenient because of
Revise.jl. Can I have multiple modules though, or do they have to be submodules of the same module? How should I set up the files?
from this active project, can I rely on the package versions being unchanged, because they are in
Manifest.toml(which is in version control, so I can always reproduce my environment)?