-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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=77s Full build output
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs test
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
sourcePaths
instead ofdependencies
for 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.