On 1/11/2014 9:16 PM, Gary Willoughby wrote:
Is it true that dub compiles everything in the source dir whether it's
imported or not?
Using it to compile a project that seems to be the case but i want to
learn if that's true.
I draw this conclusion when investigating this problem:
http://forum.dlang.org/thread/fvhdqcjfqfojzsyjp...@forum.dlang.org?page=2#post-qavrnsytpszqiofgavgi:40forum.dlang.org
If it is true then perhaps dub needs to be re-engineered to only compile
imported source files.
I think adding an "excludedSourceFiles" entry to your package.json is is
what you want. See [1].
[1] http://code.dlang.org/package-format