Skip to content

Commit f233733

Browse files
omerfirmakGeod24
authored andcommitted
Document dependency build settings
1 parent 1244b91 commit f233733

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

views/package_format_json.dt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,9 @@ block body
398398
p <code>"default": true</code> - Choose an optional dependency by default.
399399
p With this set to <code>true</code>, the dependency will be chosen by default if no dub.selections.json exists yet. If omitted, this attribute defaults to <code>false</code>. Note that this only has an effect if the "optional" attribute is set to <code>true</code>.
400400
p Note that versions prior to 0.9.25 will ignore this attribute.
401+
li
402+
p Since v1.24.0, <a href="#build-settings">build settings</a> fields can be used to be applied to dependencies.
403+
p Note that as of v1.24.0 only <code>dflags</code> is taken into account.
401404

402405
p#version-syntax Version specifiers define a range of acceptable versions. They can be specified in any of the following ways:
403406
ul

views/package_format_sdl.dt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,9 @@ block body
381381
p <code>default=true</code> - Choose an optional dependency by default.
382382
p With this set to <code>true</code>, the dependency will be chosen by default if no dub.selections.json exists yet. If omitted, this attribute defaults to <code>false</code>. Note that this only has an effect if the "optional" attribute is set to <code>true</code>.
383383
p Note that versions prior to 0.9.25 will ignore this attribute.
384+
li
385+
p Since v1.24.0, <a href="#build-settings">build settings</a> fields can be used to be applied to dependencies.
386+
p Note that as of v1.24.0 only <code>dflags</code> is taken into account.
384387

385388
p#version-syntax Version specifiers define a range of acceptable versions. They can be specified in any of the following ways:
386389
ul

0 commit comments

Comments
 (0)