Skip to content

Commit 288312b

Browse files
committed
Mention subpackage usage
1 parent bc5361c commit 288312b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

views/advanced_usage.dt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ block body
4949
dd You can specify arbitrary versions, branches, and paths in the <code>dub.selections.json</code> file, even if they contradict the dependency specification of the packages involved (note that DUB will output a warning in that case).
5050

5151
p Execute <code>dub &lt;command&gt; -h</code> for more information on these commands.
52+
53+
h2#subpkg Managing subpackages
54+
55+
p For adding subpackages in your project, execute <code> dub add &lt;packagename&gt;:&lt;subpackage&gt; </code>
56+
57+
p If you need to compile a subpackage only, use <code> dub build :&lt;subpackage&gt;

0 commit comments

Comments
 (0)