Fixed dub.json in the Getting Started tutorial.
This commit is contained in:
parent
e7131aafa9
commit
034f5d8f86
|
@ -157,7 +157,7 @@ doesn’t affect the meaning of YAML contents.</p>
|
||||||
<span class="nt">"mainSourceFile"</span><span class="p">:</span> <span class="s2">"main.d"</span><span class="p">,</span>
|
<span class="nt">"mainSourceFile"</span><span class="p">:</span> <span class="s2">"main.d"</span><span class="p">,</span>
|
||||||
<span class="nt">"dependencies"</span><span class="p">:</span>
|
<span class="nt">"dependencies"</span><span class="p">:</span>
|
||||||
<span class="p">{</span>
|
<span class="p">{</span>
|
||||||
<span class="nt">"dyaml"</span><span class="p">:</span> <span class="p">{</span> <span class="nt">"version"</span> <span class="p">:</span> <span class="s2">"~>0.5.0"</span><span class="p">,</span> <span class="nt">"path"</span> <span class="p">:</span> <span class="s2">"../../"</span><span class="p">},</span>
|
<span class="nt">"dyaml"</span><span class="p">:</span> <span class="p">{</span> <span class="nt">"version"</span> <span class="p">:</span> <span class="s2">"~>0.5.0"</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>
|
||||||
|
|
|
@ -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" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue