Re: DUB: Is it possible to set release as a default build for a dub package?

2023-11-04 Thread Jonathan M Davis via Digitalmars-d-learn
On Friday, November 3, 2023 1:21:42 PM MDT BoQsc via Digitalmars-d-learn wrote: > While using `dub`, you might notice that after running `dub` or > `dub run` command you will end up with notice: > > ``` > Starting Performing "debug" build using > C:\D\dmd2\windows\bin64\dmd.exe for x86_64. > ``` >

Re: DUB: Is it possible to set release as a default build for a dub package?

2023-11-04 Thread BoQsc via Digitalmars-d-learn
On Friday, 3 November 2023 at 21:57:57 UTC, Andrey Zherikov wrote: On Friday, 3 November 2023 at 19:21:42 UTC, BoQsc wrote: However I would want to try to enforce this behaviour from the `dub.json` or `dub.sdl` file. IMHO this is not something that should be enforced from package build config

Re: DUB: Is it possible to set release as a default build for a dub package?

2023-11-03 Thread Andrey Zherikov via Digitalmars-d-learn
On Friday, 3 November 2023 at 19:21:42 UTC, BoQsc wrote: However I would want to try to enforce this behaviour from the `dub.json` or `dub.sdl` file. IMHO this is not something that should be enforced from package build configuration, however there can be a way to configure it on system level

DUB: Is it possible to set release as a default build for a dub package?

2023-11-03 Thread BoQsc via Digitalmars-d-learn
While using `dub`, you might notice that after running `dub` or `dub run` command you will end up with notice: ``` Starting Performing "debug" build using C:\D\dmd2\windows\bin64\dmd.exe for x86_64. ``` Example output: ``` C:\Users\Windows10\Documents\Dlang winsock\datatypes>dub Pre-gen