On Friday, 7 September 2018 at 19:15:21 UTC, Jonathan M Davis
wrote:
Honestly, I wouldn't rely on anything beyond dub build working
in a consistent manner across projects. As far as I can tell,
you can't actually do anything properly custom with dub test,
and I'm inclined to think that how it approaches things is
outright wrong.
Talking about `dub build`, is there a way to make it build
dependencies but not link?
"targetType": "staticLibrary" <-- doesn't build any
dependencies
"dflags": ["-c"],
"targetType": "executable" <-- -c will get stripped off
by DUB
On the other hand:
How big is the chance that building with the `syntaxOnly` option
succeeds on a package that wouldn't actually build?
What's the reason for this questions?
Well, there's the evil `sourceLibrary` build type, that makes it
impossible to build a package itself, no matter what.
Kind regards,
Elias