Implemented recipe files for dub #2684#2685
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=78s
+executable size=5280256 bin/dub
+rough build time=77sFull build output |
|
I found a bug: The cache when using the --recipe is the same as not using, I need to make the recipe name enter in the ending file, do you guys have any direction on where I need to modify? -- In the tests folder I also shows how to test it: I basically done what other people would implement using |
WebFreak001
left a comment
There was a problem hiding this comment.
the test should actually check if the custom recipe file was used, look at the .sh files in the test folder as examples how you can script the testing framework
|
you need to if you are on windows you can do this by doing |
Co-authored-by: Jan Jurzitza <gh@webfreak.org>
WebFreak001
left a comment
There was a problem hiding this comment.
last thing, otherwise LGTM
|
the CI test fail seems related: |
Co-authored-by: Jan Jurzitza <gh@webfreak.org>
|
EDIT: will do myself |
|
after toying around, I noticed it silently ignores when the recipe file doesn't exist, will add a check for this |
|
Why was this merged ? I don't see a compelling argument for it. It breaks in all kind of ways and clearly does not fit within Dub's philosophy - this is not to say that it isn't impossible to implement, but it breaks one of the major assumption without reason. |
|
Fix dub then.
|
I have been working on a new dub build system for my project and this PR is quite important to get merged ASAP (before LDC 1.34.0 is released) since it will make my game engine usable for the release process.
Right now my
This fixes a problem where I was using
sourcePathsinstead ofdependenciesfor releasing a game, the result being a big problem as the game could not contain any dependency unknown to the engine. By having that, it fixes this problem right now and make it a lot more usable.