digitalmars.D.learn - List installed modules
- Roberto (16/16) Mar 10 2018 How do I list installed modules?
- Jonathan M Davis (9/25) Mar 10 2018 The compiler has no concept of installed modules any more than C/C++ has...
- Roberto (2/14) Mar 10 2018 Thanks. I'll write an script.
- psychoticRabbit (8/24) Mar 10 2018 Presumably, you mean packages installed by dub, as opposed to
- psychoticRabbit (2/4) Mar 10 2018 oh.... > dub list ;-)
- psychoticRabbit (3/4) Mar 10 2018 or..
How do I list installed modules? dmd --list-modules datefmt dateparser std.algorithm std.array std.conv std.datetime std.digest std.exception std.file std.format std.getopt std.json std.math ...
Mar 10 2018
On Sunday, March 11, 2018 01:04:27 Roberto via Digitalmars-d-learn wrote:How do I list installed modules? dmd --list-modules datefmt dateparser std.algorithm std.array std.conv std.datetime std.digest std.exception std.file std.format std.getopt std.json std.math ...The compiler has no concept of installed modules any more than C/C++ has a concept of installed header files. It has paths that it looks in for modules when it's told to import them, but it doesn't know or care about any modules until they're explicitly imported. If you want to see the default import path, then look at dmd.conf and what it passes to the -I flag. Otherwise, it's a question of where dmd is run from and what additional -I flags the build process passes to dmd. - Jonathan M Davis
Mar 10 2018
On Sunday, 11 March 2018 at 01:55:07 UTC, Jonathan M Davis wrote:On Sunday, March 11, 2018 01:04:27 Roberto via Digitalmars-d-learn wrote:Thanks. I'll write an script.[...]The compiler has no concept of installed modules any more than C/C++ has a concept of installed header files. It has paths that it looks in for modules when it's told to import them, but it doesn't know or care about any modules until they're explicitly imported. If you want to see the default import path, then look at dmd.conf and what it passes to the -I flag. Otherwise, it's a question of where dmd is run from and what additional -I flags the build process passes to dmd. - Jonathan M Davis
Mar 10 2018
On Sunday, 11 March 2018 at 01:04:27 UTC, Roberto wrote:How do I list installed modules? dmd --list-modules datefmt dateparser std.algorithm std.array std.conv std.datetime std.digest std.exception std.file std.format std.getopt std.json std.math ...Presumably, you mean packages installed by dub, as opposed to what comes with phobos as part of the installation. If that's what you mean, then that could be an enhancment request - i.e. to have dub maintain a list of what's installed, like any good package manager should. Whether dub does that currently I do not know, as i don't use dub, or any additional packages outside of phobos.
Mar 10 2018
On Sunday, 11 March 2018 at 03:52:19 UTC, psychoticRabbit wrote:Whether dub does that currently I do not know, as i don't use dub, or any additional packages outside of phobos.oh.... > dub list ;-)
Mar 10 2018
On Sunday, 11 March 2018 at 01:04:27 UTC, Roberto wrote:How do I list installed modules?or.. https://dlang.org/phobos/index.html
Mar 10 2018