digitalmars.D.learn - Moving location of dub packages?
- Paul (3/3) Jul 20 2019 I'd like to move where dub has stored packages to a shorter path,
- Andre Pany (5/8) Jul 21 2019 Maybe the custom cache paths could help you here:
- Andre Pany (7/16) Jul 21 2019 Or you can set the environment variables before calling dub. The
- Paul (5/24) Jul 21 2019 I don't think those options change where dub saves newly
- Andre Pany (5/29) Jul 21 2019 I use the second approach in a build script to change the
I'd like to move where dub has stored packages to a shorter path, is there a procedure for this? Thanks in advance!
Jul 20 2019
On Saturday, 20 July 2019 at 12:47:59 UTC, Paul wrote:I'd like to move where dub has stored packages to a shorter path, is there a procedure for this? Thanks in advance!Maybe the custom cache paths could help you here: https://dub.pm/settings.html Kind regards Andre
Jul 21 2019
On Sunday, 21 July 2019 at 09:20:52 UTC, Andre Pany wrote:On Saturday, 20 July 2019 at 12:47:59 UTC, Paul wrote:Or you can set the environment variables before calling dub. The actual environment variables depends on your operation system. Please see here: https://github.com/dlang/dub/blob/master/source/dub/dub.d#L272 Kind regards AndreI'd like to move where dub has stored packages to a shorter path, is there a procedure for this? Thanks in advance!Maybe the custom cache paths could help you here: https://dub.pm/settings.html Kind regards Andre
Jul 21 2019
On Sunday, 21 July 2019 at 09:42:15 UTC, Andre Pany wrote:On Sunday, 21 July 2019 at 09:20:52 UTC, Andre Pany wrote:I don't think those options change where dub saves newly downloaded packages but it's good to know the options available. Thanks for the help! PaulOn Saturday, 20 July 2019 at 12:47:59 UTC, Paul wrote:Or you can set the environment variables before calling dub. The actual environment variables depends on your operation system. Please see here: https://github.com/dlang/dub/blob/master/source/dub/dub.d#L272 Kind regards AndreI'd like to move where dub has stored packages to a shorter path, is there a procedure for this? Thanks in advance!Maybe the custom cache paths could help you here: https://dub.pm/settings.html Kind regards Andre
Jul 21 2019
On Sunday, 21 July 2019 at 22:45:02 UTC, Paul wrote:On Sunday, 21 July 2019 at 09:42:15 UTC, Andre Pany wrote:I use the second approach in a build script to change the location where dub saves new packages. Works fine. Kind regards AndreOn Sunday, 21 July 2019 at 09:20:52 UTC, Andre Pany wrote:I don't think those options change where dub saves newly downloaded packages but it's good to know the options available. Thanks for the help! PaulOn Saturday, 20 July 2019 at 12:47:59 UTC, Paul wrote:Or you can set the environment variables before calling dub. The actual environment variables depends on your operation system. Please see here: https://github.com/dlang/dub/blob/master/source/dub/dub.d#L272 Kind regards Andre[...]Maybe the custom cache paths could help you here: https://dub.pm/settings.html Kind regards Andre
Jul 21 2019