I’m happy to see that the documentation in the 0.7 manual for the new package manager is greatly expanded, but it’s still a bit thin in describing how to develop applications (as opposed to packages). I’d like to develop my application using the package manager, but I’m not sure how.
Following the instructions in the manual about application development, I executed
activate . in Pkg mode of the REPL in a new, empty directory, followed by
add for packages needed by my application. What’s next? Should I create a subdirectory called
src and place my
.jl files in it? I did that. For example, suppose that the entry point to my application is a no-argument function
run() in a module called
app in a file called
app.jl in the src subdirectory. How do I execute my application so that (1) the loader knows to look for source files in that directory and (2) the correct packages that were added with the
add command are available when the application starts?
Also, is Revise.jl the recommended way to keep the REPL up-to-date with edits made to the source files during development?