Scroll to navigation

DUB-ADD-LOCAL(1) The D Language Foundation DUB-ADD-LOCAL(1)

NAME

dub - Package and build management system for D

SYNOPSIS

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

DESCRIPTION

Adds a local package directory to be used during dependency resolution. This command is useful for registering local packages, such as GIT working copies, that are either not available in the package registry, or are supposed to be overwritten.

The version of the package is either determined automatically (see the "add-path" command, or can be explicitly overwritten by passing a version on the command line.

See 'dub add-path -h' for a way to register multiple local packages at once.

OPTIONS

--system
Register system-wide instead of user-wide

FILES

dub.sdl, dub.json

AUTHOR

Copyright (c) 1999-2021 by The D Language Foundation

ONLINE DOCUMENTATION

http://code.dlang.org/docs/commandlinehttp://code.dlang.org/docs/commandline

SEE ALSO

dmd(1), dub(1)
2021-01-27 The D Language Foundation