Re: dub: standard project: how to build the unittest (the thing `dub test` runs)

2020-12-12 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 12 December 2020 at 12:47:59 UTC, Tobias Pankrath wrote: On Saturday, 12 December 2020 at 12:18:47 UTC, Andre Pany wrote: In any case you should have configurations in your dub json. Thank you for your detailed reply and I am sure I can make it work in the way you described.

Re: dub: standard project: how to build the unittest (the thing `dub test` runs)

2020-12-12 Thread Tobias Pankrath via Digitalmars-d-learn
On Saturday, 12 December 2020 at 12:18:47 UTC, Andre Pany wrote: In any case you should have configurations in your dub json. Thank you for your detailed reply and I am sure I can make it work in the way you described. But I don't think my use case is invalid and dub should improve its

Re: dub: standard project: how to build the unittest (the thing `dub test` runs)

2020-12-12 Thread Andre Pany via Digitalmars-d-learn
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

Re: dub: standard project: how to build the unittest (the thing `dub test` runs)

2020-12-12 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 12 December 2020 at 11:13:45 UTC, Tobias Pankrath wrote: Whenever I come back to some D, I seem to be stumbling over dub. Somehow dub and I don't align: $ dub init dubtest && cd dubtest $ dub test -> creates executable `dubtest` (saying Falling back to "dub -b unittest".) $

dub: standard project: how to build the unittest (the thing `dub test` runs)

2020-12-12 Thread Tobias Pankrath via Digitalmars-d-learn
Whenever I come back to some D, I seem to be stumbling over dub. Somehow dub and I don't align: $ dub init dubtest && cd dubtest $ dub test -> creates executable `dubtest` (saying Falling back to "dub -b unittest".) $ touch source/lib.d dub test -> creates executable dubtest-test-library