RejectedSoftware Forums

Sign up

enable dub run always in temp folder

Hi!

Is there any way to dub run in temp folder (some flag) like it was in old version (before 0.9.20).

I'm using dub of 0.9.21 version on Windows.

Thanks!

Re: enable dub run always in temp folder

On Wed, 26 Mar 2014 12:16:04 GMT, Pavel wrote:

Hi!

Is there any way to dub run in temp folder (some flag) like it was in old version (before 0.9.20).

I'm using dub of 0.9.21 version on Windows.

Thanks!

Currently there is no flag to force it, but it is instead done automatically when the destination directory is not writable (hopefully). However, using --rdmd as a workaround should make it build in the temp folder, too.

What's your specific use case for this? If you think it would be useful to support more than the --rdmd workaround, please add a feature request on the bug tracker. It would be relatively easy to add something.

Re: enable dub run always in temp folder

On Sun, 30 Mar 2014 08:35:44 GMT, Sönke Ludwig wrote:

On Wed, 26 Mar 2014 12:16:04 GMT, Pavel wrote:

Hi!

Is there any way to dub run in temp folder (some flag) like it was in old version (before 0.9.20).

I'm using dub of 0.9.21 version on Windows.

Thanks!

Currently there is no flag to force it, but it is instead done automatically when the destination directory is not writable (hopefully). However, using --rdmd as a workaround should make it build in the temp folder, too.

What's your specific use case for this? If you think it would be useful to support more than the --rdmd workaround, please add a feature request on the bug tracker. It would be relatively easy to add something.

Hello!

I made target directory read only, but it didn't help. Building process just stop with access denied error message.
Where should I use/insert --rdmd flag? I can't find any place for it.
I've made an issue in github #294.

Thanks!