1DUB-ADD-LOCAL(1) The D Language Foundation DUB-ADD-LOCAL(1)
2
3
4
6 dub - Package and build management system for D
7
9 dub add-local <path> [<version>] OPTIONS...
10
12 Adds a local package directory to be used during dependency resolution.
13 This command is useful for registering local packages, such as GIT
14 working copies, that are either not available in the package registry,
15 or are supposed to be overwritten.
16
17
18
19 The version of the package is either determined automatically (see the
20 "add-path" command, or can be explicitly overwritten by passing a ver‐
21 sion on the command line.
22
23
24
25 See 'dub add-path -h' for a way to register multiple local packages at
26 once.
27
29 --system
30 Register system-wide instead of user-wide
31
33 dub.sdl, dub.json
34
36 Copyright (c) 1999-2022 by The D Language Foundation
37
39 ⟨http://code.dlang.org/docs/commandline⟩http://code.dlang.org/docs/commandline
40
42 dmd(1), dub(1)
43
44
45
46The D Language Foundation 2022-01-20 DUB-ADD-LOCAL(1)