1DUB-ADD-PATH(1) The D Language Foundation DUB-ADD-PATH(1)
2
3
4
6 dub - Package and build management system for D
7
9 dub add-path <path> OPTIONS...
10
12 Adds a default package search path. All direct sub folders of this path
13 will be searched for package descriptions and will be made available as
14 packages. Using this command has the equivalent effect as calling 'dub
15 add-local' on each of the sub folders manually.
16
17
18
19 Any packages registered using add-path will be preferred over packages
20 downloaded from the package registry when searching for dependencies
21 during a build operation.
22
23
24
25 The version of the packages will be determined by one of the following:
26
27 - For GIT working copies, the last tag (git describe) is used to de‐
28 termine the version
29
30 - If the package contains a "version" field in the package descrip‐
31 tion, this is used
32
33 - If neither of those apply, "~master" is assumed
34
36 --system
37 Register system-wide instead of user-wide
38
40 dub.sdl, dub.json
41
43 Copyright (c) 1999-2022 by The D Language Foundation
44
46 ⟨http://code.dlang.org/docs/commandline⟩http://code.dlang.org/docs/commandline
47
49 dmd(1), dub(1)
50
51
52
53The D Language Foundation 2022-07-27 DUB-ADD-PATH(1)