On Saturday, 12 December 2020 at 12:18:47 UTC, Andre Pany wrote:
On Saturday, 12 December 2020 at 11:13:45 UTC, Tobias Pankrath wrote:
[...]

In any case you should have configurations in your dub json. For the first configuration, the name does not matter, it is used by default for command "dub" or "dub build", here you set targetType library. The second configuration you name unittest, you set targetType executable and you also have to set attribute mainSourceFile. This configuration is used automatically by command "dub test".

Kind regards
Andre

Here is a more detailed example
https://github.com/andre2007/coding-puzzles/blob/master/dub.json

Kind regards
Andre

Reply via email to