logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dub-add-path - Adds a default package search path

Author

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

Description

       Adds  a  default  package  search  path. All direct sub folders of this path will be searched for package
       descriptions and will be made available as packages. Using this command  has  the  equivalent  effect  as
       calling 'dub add-local' on each of the sub folders manually.

       Any  packages  registered  using  add-path  will  be  preferred over packages downloaded from the package
       registry when searching for dependencies during a build operation.

       The version of the packages will be determined by one of the following:

         - For GIT working copies, the last tag (git describe) is used to determine the version

         - If the package contains a "version" field in the package description, this is used

         - If neither of those apply, "~master" is assumed

Exit Status

0      DUB succeeded

       1      usage errors, unknown command line flags

       2      package not found, package failed to load, miscellaneous error

Files

dub.sdl, dub.json

Name

       dub-add-path - Adds a default package search path

Online Documentation

Options

--system
           DEPRECATED: Use --cache=system instead

   COMMONOPTIONS
       See dub(1)

See Also

dub(1), dub-remove-path(1)

The D Language Foundation                          2025-01-22                                    DUB-ADD-PATH(1)

Synopsis

dubadd-path <path> OPTIONS...

See Also