On Sunday, 14 April 2019 at 20:51:10 UTC, Andre Pany wrote:
On Sunday, 14 April 2019 at 19:46:41 UTC, Ron Tarrant wrote:
[...]
You are totally right, it should be more intuitive how to use
dub.
As far as I know if you do not specify in dub.json/dub.sdl what
type of package you have (executable/library) dub make a guess.
Is there an app.d it will default the targetType "executable",
if not it will default the targetType "library".
To solve your specify the targetType explicitly in your dub.sdl
file.
https://dub.pm/package-format-json.html#target-types
Kind regards
Andre
The Zen of Python, rule number two: explicit is better than
implicit ...
I guess that just killing all that educated dub guess will turn
dub into a much easier tool to grasp.
- P