On 2018-02-01 13:19, Russel Winder wrote:

I see the source of the dependencies both in ~/.dub/packages and in the
project .dub directory, but I see the compilation products in
~/.dub/packages.

I'm wondering if this might be different versions of Dub behaving differently. I have 79 packages in ~/.dub/packages and only three object files in two different projects.

$ ls -l ~/.dub/packages | wc -l
      79

$ cd ~/.dub/packages && find . -name '*.o'
./dfmt-0.4.4/.dub/build/application-debug-posix.osx-x86_64-dmd_2069-EEECF44B144F658EA70D0E82862DE408/dfmt.o
./dfmt-0.4.4/.dub/build/application-debug-posix.osx-x86_64-dmd_2070-5AD8691A40E4B0418752E48F1E27075F/dfmt.o
./unit-threaded-0.7.15/unit-threaded/.dub/build/gen_ut_main-debug-posix.osx-x86_64-dmd_2072-5674F70F27B1DC65A685FF95F866B7F7/gen_ut_main.o

There are every compiled version in obscure named sub-
directories and the last compiled (unknown compiler and options) in the
dependency directory.

It's just a cache, it's not something that the user need to look at.

--
/Jacob Carlborg

Reply via email to