generate(name) should only work for `dev`ed packages.
fredrikekre opened this issue · 2 comments
fredrikekre commented
I think we should try to detect where the package source is located, and error if the package is installed in one of the regular package directories, since those are supposed to be read only.
fredrikekre commented
We can also make the second dir argument mandatory.
mortenpi commented
When I was looking at it I was thinking about the following API:
generate(::Module)
generates for an existing (devved) package.generate(::AbstractString)
generates to a path.