Thread overview | |||||
---|---|---|---|---|---|
|
September 14, 2019 Moving '.dub' build directory outside of project root | ||||
---|---|---|---|---|
| ||||
Dear all, I need to keep the project root clean from build artifact, how I can tell DUB to store the '.dub' directory in a sibling directory of my project root directory? Thank |
September 14, 2019 Re: Moving '.dub' build directory outside of project root | ||||
---|---|---|---|---|
| ||||
Posted in reply to DMan | On Saturday, 14 September 2019 at 14:22:40 UTC, DMan wrote:
> Dear all,
>
> I need to keep the project root clean from build artifact, how I can tell DUB to store the '.dub' directory in a sibling directory of my project root directory?
>
> Thank
This is currently not possible afaik. What is your exact use case? You may have a build script which either delete .dub after a build or copy the whole project folder to a temp directory, build the project and copy the binary to a specified location.
Kind regards
Andre
|
September 16, 2019 Re: Moving '.dub' build directory outside of project root | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Saturday, 14 September 2019 at 20:24:41 UTC, Andre Pany wrote:
> On Saturday, 14 September 2019 at 14:22:40 UTC, DMan wrote:
>> Dear all,
>>
>> I need to keep the project root clean from build artifact, how I can tell DUB to store the '.dub' directory in a sibling directory of my project root directory?
>>
>> Thank
>
> This is currently not possible afaik. What is your exact use case? You may have a build script which either delete .dub after a build or copy the whole project folder to a temp directory, build the project and copy the binary to a specified location.
>
> Kind regards
> Andre
I can use a workaround, but that's a pity, it is a very basic functionality for a build system.
Thank you
|
Copyright © 1999-2021 by the D Language Foundation