Is it true that dub compiles everything in the source dir whether it's imported or not?
Gary Willoughby
dev at nomad.so
Sat Jan 11 05:46:50 PST 2014
On Saturday, 11 January 2014 at 13:01:26 UTC, Mike Parker wrote:
> I think adding an "excludedSourceFiles" entry to your
> package.json is is what you want. See [1].
>
> [1] http://code.dlang.org/package-format
I've seen this but the problem is not with my project but a
dependency. I only include two files from the dependency but when
my project is compiled the entire source of the dependency is
compiled and produces the error.
More information about the Digitalmars-d-learn
mailing list