Mathias LANG
Mathias LANG
Looks pretty good to me, was waiting until @kinke takes it out of draft, but the idea is sound.
Related: https://github.com/dlang/dub/issues/270 I think that the *main* reason `app.d` was being excluded before was because druntime used to run the main after the unittests, as explained in the comment. Now...
Agreed (it wasn't clear, but that's what I implied with removing the `unittest` configuration).
Suggestion: `dub explain` => `dub why` to better reflect my state of mind every time I need this command (`/s`).
Definitely not for unittests. We have modules that are just `unittest` modules and aren't imported by anyone.
That's also a concern. Although this style of coding is not prevalent AFAIK. I think we should sample the existing ecosystem to see what people need / go to naturally....
You can but it's a pain, if you want to have multiple binaries in the same package. Using subpackages is a pain, so in my experience people tend to reach...
I want recursive exclusion, so I can say "exclude `source/myAppName/`". Currently I need to say "exclude `source/myAppName/*` but also `source/myAppName/*/*`", etc... But even this has issues, because of when globbing...
I'm pretty sure this is just another symptom of #2023
What does your `dub.settings.json` looks like ? It should be at least: ```json { "defaultCompiler": "ldc2" } ``` This work fine from my experience.