Closed simendsjo closed 11 years ago
I saw some threads on DUB, but did not read them carefully. What should I do to add it to the project?
Add it as package.json
and register it at http://registry.vibed.org/
It's not finished though. And only tested on dmd linux.
And there are a couple of outstanding dub issues that should be addressed first:
https://github.com/rejectedsoftware/dub/issues/31
https://github.com/rejectedsoftware/dub/issues/29
I adjusted the package.json a bit to remove all flags that are managed by DUB itself (-unittest, -of, -lib etc.). There are still some missing parts in DUB in this area and I will write up a short introduction text once everything is worked out. For now, all libraries can only be used as "source libraries", so their sources are passed to the compiler together with the application sources. But I'll add the possibility to specify explicit output types shortly.
I've created a skeleton for a DUB package. Stuff like "-g -debug" and optimization flags is added by DUB, so these should probably be removed..