Building custom library package with dub
alex1974 via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Mar 18 04:29:43 PDT 2017
I want to build a custom library with useful extensions to
phobos. They should be named like:
extensions.regex
extensions.path
extensions.files
...
Some libraries, like extensions.files contain several files (e.g
files.d, filesexceptions.d)
Analog to phobos I would like to import them like
import extensions.files: temporary;
What would be the best approach for the folder layout and dub?
I guess subPackages, but I can't get them to compile and link
properly.
Thanks for the help
More information about the Digitalmars-d-learn
mailing list