digitalmars.D - dub to create multiple executables from one source directory?
- biocyberman (6/6) Dec 19 2016 Hi
- =?UTF-8?Q?S=c3=b6nke_Ludwig?= (3/9) Dec 19 2016 The cleanest way would be to make each example a single file package:
- John Colvin (4/16) Dec 19 2016 and use path based dependencies to refer to the local version of
Hi I am learning D and dub, and playing with this repository: https://github.com/biod/BioD The whole repo itself and be compiled with `dub build` command. How write dub.json under `examples` directory and compile every d source file in there?
Dec 19 2016
Am 19.12.2016 um 11:24 schrieb biocyberman:Hi I am learning D and dub, and playing with this repository: https://github.com/biod/BioD The whole repo itself and be compiled with `dub build` command. How write dub.json under `examples` directory and compile every d source file in there?The cleanest way would be to make each example a single file package: http://code.dlang.org/getting_started#single-file-packages
Dec 19 2016
On Monday, 19 December 2016 at 12:36:13 UTC, Sönke Ludwig wrote:Am 19.12.2016 um 11:24 schrieb biocyberman:and use path based dependencies to refer to the local version of the main package, not whatever is available remotely. https://code.dlang.org/package-format?lang=sdl#version-specsHi I am learning D and dub, and playing with this repository: https://github.com/biod/BioD The whole repo itself and be compiled with `dub build` command. How write dub.json under `examples` directory and compile every d source file in there?The cleanest way would be to make each example a single file package: http://code.dlang.org/getting_started#single-file-packages
Dec 19 2016