Add support for DUBPATH and "add-path" + change the default installation location to the DUB user path. Fixes #64.
This change allows to specify a number of directories in addition to the system and user DUB package directories to search for local packages.

Full list of changes:

 - Add support for the DUBPATH environment variable (a (semi-)colon separated list of paths)
 - Add support for "dub add-path" and "dub remove-path" to add static search paths
 - The branch of local packages with no "version" field in their package.json is now inferred using "git rev-parse"
 - The structure of the user/system package directories is changed from "packages/<packname>/<packver>" to "packages/<packname>-<packver>"
 - There is no project local package directory (".dub/packages") anymore - packages are instead installed to the user package directory by default
 - Upgrading and uninstallation is partially broken in this commit - will be fixed later
1 parent 84b37f1 commit 3560f92307d95d91da8b743567af6de54ca046b9
@Sönke Ludwig Sönke Ludwig authored on 4 Jun 2013
Showing 5 changed files
View
source/app.d
View
source/dub/dub.d
View
source/dub/package_.d
View
source/dub/packagemanager.d
View
source/dub/project.d