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

EXIT STATUS

33       0      DUB succeeded
34
35       1      usage errors, unknown command line flags
36
37       2      package not found, package failed to load, miscellaneous error
38

FILES

40       dub.sdl, dub.json
41

AUTHOR

43       Copyright (c) 1999-2023 by The D Language Foundation
44

ONLINE DOCUMENTATION

46       http://code.dlang.org/docs/commandline
47http://code.dlang.org/docs/commandline
48

SEE ALSO

50       dub(1), dub-remove-local(1)
51
52
53
54The D Language Foundation         2023-03-23                  DUB-ADD-LOCAL(1)
Impressum