Start testing the DMD DUB package on Travis#7415
Conversation
|
Thanks for your pull request, @wilzbach! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
|
So why doesn't it find the Dub command? It works before the tests are started [1]. Are we messing with the |
8a1599b to
02931e8
Compare
Ah because we need to explicitly load the compiler into the environment. I think this is done to ensure that the host compiler is only used in the |
02931e8 to
b9a930a
Compare
|
LGTM 👌. |
|
@RazvanN7 @jacob-carlborg FYI: I managed to build a DUB package which exposes the entire frontend: #7425 |
Yes there was: https://dlang.org/blog/2017/08/01/a-dub-case-study-compiling-dmd-as-a-library
The problem is that's still far from usable. While with #7425, it will finally be possible to run through all semantic stages with the DMD as a library package, there's still much work that needs to be done in:
|
I have started on an AST dumper, but as a debugging tool within DMD and not outputting XML. https://github.com/jacob-carlborg/dmd/tree/ast-printer |

Supersedes #6999
Submitting this to see the list of errors we run into. The last time there has been a problem with
gdc.See also: #6771