add --deep flag to dub build#2647
Conversation
|
✅ PR OK, no changes in deprecations or warnings Total deprecations: 14 Total warnings: 0 Build statistics: statistics (-before, +after)
executable size=5272064 bin/dub
rough build time=90sFull build output |
Allows to build all dependencies of a static library
make it clear what part of the code is used for recursive build
MrcSnm
left a comment
There was a problem hiding this comment.
LGTM @WebFreak001 @Geod24
|
@rtbo I have wrote this file here: Added By specifying this flag, you can now build all the dependencies If a staticLibrary A depends on staticLibrary B, and the --deep Feel free to modify as you see fit. This is a required file which goes inside the changelog folder. |
|
Hey there @WebFreak001 @Geod24 can you take a look into this PR? |
Allows to build all dependencies of a static library.
This provides the same functionality as the dub-build-deep package.
The difference is that all dependencies are built in the same DUB invocation, which imply that the build will be fully compatible with
dub describe.E.g.
dub describe vibe-d:httpwill describe the build settings of all dependencies ofvibe-d:httpanddub build --deep vibe-d:httpwill build all dependencies with the exact same build settings.If we build dependencies one by one (as done by
dub-build-deep), some settings will differ.See also #2644
Fixes #2224 (and possibly #2209)