On Saturday, 28 October 2017 at 19:23:42 UTC, ikod wrote:

So default version is "std", I can build it w/o vibe-d, but dub anyway fetch vibe-d.
I'd like dub fetch vibe-d only when I build with --config vibed.

I know about "optional": true, it prevent dub to fetch vibe-d for "std" config, but it also prevent it from fetching for --config vibed.


This is dub design choice, optional requires manual fetching(dub fetch 'package'). I don't see other options, but you can try hack this using 'preBuildCommands' by adding dub fetch. Of course this defeats the purpose.

Isn't it possible to put dependencies in specific configuration?

Reply via email to