I'd say opening all dependencies is distracting. But being able to open them quickly is really useful.<br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 10:26 PM, alex <span dir="ltr"><<a href="mailto:info@alexanderbothe.com" target="_blank">info@alexanderbothe.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Friday, 26 April 2013 at 20:16:15 UTC, Sönke Ludwig wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am <a href="tel:26.04.2013%2021" value="+12604201321" target="_blank">26.04.2013 21</a>:37, schrieb alex:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I want to inform you that Mono-D v0.5.2.4 can open Dub projects natively<br>
now - no need for creating .dproj files explicitly anymore, just opening<br>
package.json is required in order to have the project there.<br>
It also handles include paths in the most common cases.<br>
</blockquote>
<br>
Cool! I'll try that out tomorrow. Do you execute the "dub" binary to<br>
generate a project file or do you parse the "package.json" directly? If<br>
it helps, it would be relatively easy to add a mode where all build<br>
settings for the project, including all of its dependencies, are output<br>
to stdout as JSON.<br>
</blockquote>
<br></div>
It parses the package.json directly, no .sln or .dproj is generated. It runs dub build for building and dub for executing the program -- where do I specify run arguments btw?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Btw, what about nested dependencies? How are they handled in dub? Are<br>
all sub-packages in the .dub folder read for further dependency<br>
information?<br>
</blockquote>
<br>
Yes, the ones in ".dub", in the system- and user-wide package folders,<br>
as well as any package added with "dub add-local" are scanned for<br>
</blockquote>
<br></div>
where is the list of packages added with 'add-local' stored at?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
matches recursively and their build settings are merged-in accordingly.<br>
</blockquote>
<br></div>
I think I might open up all the dependency projects as well when opening the 'root' package.json - do you think that it's a good idea or just distracting the user from the main project?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Great work though!<br>
</blockquote>
<br>
Thanks, the same must be said about Mono-D! (which is a lot more<br>
complex, of course)<br>
</blockquote>
<br></div>
:-)<br>
</blockquote></div><br>