Command line utilities for tab-separated value files

Edwin van Leeuwen via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Apr 12 00:27:50 PDT 2016


On Tuesday, 12 April 2016 at 07:17:05 UTC, Jon D wrote:
>
> I'd certainly like to make it available via dub, but I wasn't 
> sure how to set it up. There are two issues. One is that the 
> package builds multiple executables, which dub doesn't seem to 
> support easily. More problematic is that quite a bit of the 
> test suite is run against the executables, which I could 
> automate using make, but didn't see how to do it with dub.
>
> If there are suggestions for setting this up in dub that'd be 
> great. An example project doing something similar would be 
> really helpful.

Dub is indeed not ideal for building multiple executables. You 
can either use subConfigurations or subPackages. In your case I 
would probably go the subPackages route, with the root dub file 
depending on all the executables. Never done that before though, 
so not exactly sure if that would work. If it works though then 
I'd think dub test in the root would run the tests for each 
subPackage.


More information about the Digitalmars-d-announce mailing list