Fixed dub.json in the Getting Started tutorial.

This commit is contained in:
Ferdinand Majerech 2014-08-07 15:27:48 +02:00
parent e7131aafa9
commit 034f5d8f86
2 changed files with 3 additions and 3 deletions

View file

@ -157,7 +157,7 @@ doesn&#8217;t affect the meaning of YAML contents.</p>
<span class="nt">&quot;mainSourceFile&quot;</span><span class="p">:</span> <span class="s2">&quot;main.d&quot;</span><span class="p">,</span> <span class="nt">&quot;mainSourceFile&quot;</span><span class="p">:</span> <span class="s2">&quot;main.d&quot;</span><span class="p">,</span>
<span class="nt">&quot;dependencies&quot;</span><span class="p">:</span> <span class="nt">&quot;dependencies&quot;</span><span class="p">:</span>
<span class="p">{</span> <span class="p">{</span>
<span class="nt">&quot;dyaml&quot;</span><span class="p">:</span> <span class="p">{</span> <span class="nt">&quot;version&quot;</span> <span class="p">:</span> <span class="s2">&quot;~&gt;0.5.0&quot;</span><span class="p">,</span> <span class="nt">&quot;path&quot;</span> <span class="p">:</span> <span class="s2">&quot;../../&quot;</span><span class="p">},</span> <span class="nt">&quot;dyaml&quot;</span><span class="p">:</span> <span class="p">{</span> <span class="nt">&quot;version&quot;</span> <span class="p">:</span> <span class="s2">&quot;~&gt;0.5.0&quot;</span><span class="p">},</span>
<span class="p">},</span> <span class="p">},</span>
<span class="p">}</span> <span class="p">}</span>
</pre></div> </pre></div>
@ -238,4 +238,4 @@ example in the <tt class="docutils literal"><span class="pre">example/getting_st
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
</div> </div>
</body> </body>
</html> </html>

View file

@ -144,7 +144,7 @@ Create a file called ``dub.json`` with the following contents:
"mainSourceFile": "main.d", "mainSourceFile": "main.d",
"dependencies": "dependencies":
{ {
"dyaml": { "version" : "~>0.5.0", "path" : "../../"}, "dyaml": { "version" : "~>0.5.0" },
}, },
} }