Re: dub run subPackage by default

2020-09-01 Thread Andre Pany via Digitalmars-d-learn
On Tuesday, 1 September 2020 at 19:38:39 UTC, ParticlePeter wrote: On Tuesday, 1 September 2020 at 14:45:43 UTC, Andre Pany wrote: On Tuesday, 1 September 2020 at 11:45:34 UTC, ParticlePeter wrote: [snip] I have a enhancement for dub in my mind, which would also solve your issue. Similiar to

Re: dub run subPackage by default

2020-09-01 Thread ParticlePeter via Digitalmars-d-learn
On Tuesday, 1 September 2020 at 14:45:43 UTC, Andre Pany wrote: On Tuesday, 1 September 2020 at 11:45:34 UTC, ParticlePeter wrote: [snip] I have a enhancement for dub in my mind, which would also solve your issue. Similiar to setup.py in python you would be able to define an entry point in d

Re: dub run subPackage by default

2020-09-01 Thread Andre Pany via Digitalmars-d-learn
On Tuesday, 1 September 2020 at 11:45:34 UTC, ParticlePeter wrote: Hello, I have a targetType sourceLibrary and demonstrate its usage through a subPackage. For the library itself 'dub run' is meaningless, but not for the subPackage. Is there a way to tell dub through dub.sdl or dub.json to bui

dub run subPackage by default

2020-09-01 Thread ParticlePeter via Digitalmars-d-learn
Hello, I have a targetType sourceLibrary and demonstrate its usage through a subPackage. For the library itself 'dub run' is meaningless, but not for the subPackage. Is there a way to tell dub through dub.sdl or dub.json to build and run a specific subPackage by default, without having to call