I am having a little trouble with package development. It seems, Pkg3
prefers to do some caching here and there.
I hava a MyPack.jl/
folder containing my package (with git repository src/``docs/
test/
and such)
When I am in Atom (Juno) I do something like
>pkg develop .
which adds a relative path from the .Julia/
folder in my home dir to said MyPack.jl/
folder.
Then I can just run the tests (include('test/runtests.jl')
or generate the documentation (that’s what I am working on at this moment) include('docs/make.jl')
. Either way I might have a bug somewhere, let’s say even in an early stage at compile time, so this include errors…
On the old 0.6
(where I had the MyPack.jl
in my PATH) I fix the bug and restarted Julia (maybe even that could get nicer) and would just using MyPack
or reissue above test/make.
On 0.7
however with the above approach it quite often keeps the bug I just fixed (and I am sure I saved the file and such).
The one thing that does work is a git commit
, but for every character that I fix and test a commit would really clutter my history.
Neither pkg> update .
nor pkg> update MaPack
nor a new pkg> develop .
solve this issue, also neither of them after restarting Julia.
So what’s the best workflow to develop a package with Julia 0.7/1.0 and Pkg3
(with Atom on Mac OS for example)?