RejectedSoftware Forums

Sign up

dub pre-fetch dependencies

Is there a way for me to have dub pre-fetch all the dependencies based only on a dub.json file?

I first saw dub fetch but this is only for manual fetching. Then I thought of creating a targetType: none, but that means it will never build.

Any ideas?

Re: dub pre-fetch dependencies

Am 10.05.2015 um 06:06 schrieb Sebastiaan Koppe:

Is there a way for me to have dub pre-fetch all the dependencies based only on a dub.json file?

I first saw dub fetch but this is only for manual fetching. Then I thought of creating a targetType: none, but that means it will never build.

Any ideas?

dub upgrade, possibly with the --only-missing option should do the
trick. This is basically what happens before each build.