fix #1556: dub --cache=local fetch + build
Building a package that was locally cached failed, because the dependencies whould be fetched at the wrong destination. For example if one tries to build the package 'optional': $ dub --cache=local fetch optional -> optional is now at ./.dub/package/optional $ dub --cache=local build optional -> fails because the dependency bolts was fetched to ./.dub/package/optional/.dub/package/bolts. This is fixed by not overwriting the root path if dub builds a package from the cache. |
---|
|
source/dub/commandline.d |
---|
test/issue1556-fetch-and-build-pkgs/.no_build 0 → 100644 |
---|
test/issue1556-fetch-and-build-pkgs/dependency-package-1.0.0.zip 0 → 100644 |
---|
Not supported
|
test/issue1556-fetch-and-build-pkgs/main-package-1.0.0.zip 0 → 100644 |
---|
Not supported
|
test/issue1556-fetch-and-build.sh 0 → 100755 |
---|