On Monday, 20 January 2020 at 11:54:43 UTC, Bastiaan Veelo wrote:
On Tuesday, 8 August 2017 at 09:17:02 UTC, data pulverizer
wrote:
I would like to know how to specify dmd or ldc compiler and
version in a json dub file.
Update: you can at least specify these in the toolchain
requirements section:
https://dub.pm/package-format-json.html#toolchain-requirements
I myself am looking for ways to satisfy these automatically,
using a tool like dvm (https://code.dlang.org/packages/dvm) in
preBuildCommands.
Bastiaan.
In the meantime, the dub settings json could also be placed in
the project folder and has precedence. Although I would not
recommend to distribute the file as it is meant for your local
working computer.
Kind regards
Andre