1DUB-ADD-LOCAL(1)           The D Language Foundation          DUB-ADD-LOCAL(1)
2
3
4

NAME

6       dub-add-local - Adds a local package directory (e.g. a git repository)
7

SYNOPSIS

9       dub add-local <path> [<version>] OPTIONS...
10

DESCRIPTION

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

OPTIONS

29       --system
30           Register system-wide instead of user-wide
31
32   COMMON OPTIONS
33       See dub(1)
34

EXIT STATUS

36       0      DUB succeeded
37
38       1      usage errors, unknown command line flags
39
40       2      package not found, package failed to load, miscellaneous error
41

FILES

43       dub.sdl, dub.json
44

AUTHOR

46       Copyright (c) 1999-2023 by The D Language Foundation
47

ONLINE DOCUMENTATION

49       http://code.dlang.org/docs/commandline ⟨⟩
50

SEE ALSO

52       dub(1), dub-remove-local(1)
53
54
55
56The D Language Foundation         2023-07-24                  DUB-ADD-LOCAL(1)
Impressum