.TH DUB-ADD-PATH 1 "2024-07-07" "The D Language Foundation" "The D Language Foundation" .SH NAME dub-add-path \- Adds a default package search path .SH SYNOPSIS \fBdub add-path \fR<\fIpath\fR> \fIOPTIONS\&.\&.\&.\fR .SH 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 .SH OPTIONS .PP \fB\-\-system\fR .RS 4 DEPRECATED: Use --cache=system instead .RE .SS COMMON OPTIONS See \fBdub\fR(1) .SH EXIT STATUS .TP .BR 0 DUB succeeded .TP .BR 1 usage errors, unknown command line flags .TP .BR 2 package not found, package failed to load, miscellaneous error .SH FILES \fIdub\&.sdl\fR, \fIdub\&.json\fR .SH AUTHOR Copyright (c) 1999-2024 by The D Language Foundation .SH ONLINE DOCUMENTATION .URhttp://code.dlang.org/docs/commandline http://code.dlang.org/docs/commandline .UE .SH SEE ALSO \fBdub\fR(1), \fBdub-remove-path\fR(1)