On Saturday, 4 March 2023 at 21:31:09 UTC, Richard (Rikki) Andrew
Cattermole wrote:
Yes dub was setup to cover the most common cases, but ignores
when you have multiple outputs. Not ideal.
There is a PR to add build steps currently, which will help
improve things, so there is work to make dub better at these
less common use cases.
The simplest solution is to do one package per binary, then use
a shell script to trigger them in succession, not great but a
workable solution.
It's interesting to hear that multiple outputs are rare for other
developers.
So I was hoping to do away with shell scripts (or make) since dub
is common on all systems, but alas it's not worth the effort, so
I won't continue to try and make `"targetType":"none"` work.
By the way, do you know if there will be a dub "build-all" type
command in the future?
- Use dub to creat... Chris Piker via Digitalmars-d-learn
- Re: Use dub... Steven Schveighoffer via Digitalmars-d-learn
- Re: Use... Chris Piker via Digitalmars-d-learn
- Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
- ... Chris Piker via Digitalmars-d-learn