Dub packages that have a submodule won't work
System information
- dub version: 1.36.0
- OS Platform and distribution: All
- compiler version All
Bug Description
If you include a git repository that contains submodules, those submodules aren't included in the dub dependency. It is okay as a default, but the problem is that the repo Is not cloned, which would mean, even git submodule update --init --recursive does not work since it is not a git repository.
How to reproduce?
Expected Behavior
Maybe the downloaded package could have an option to use git clone instead of downloading the .zip archive?
It could even have an alternate .zip download, since this way I would be able to supply a .zip archive containing the submodules.
I know dub is able to do the package management. But having more than one repo inside a repo makes it fairly easier to work with when I need.
Logs
This is not an issue on dub side's though, the Github release does not include submodules.
This is not an issue on dub side's though, the Github release does not include submodules.
Hum but it would be better having a way to better distribute that. Do you have any idea? Unfortunately using preBuildCommands does not work, because the way dub is distributed are not by using a git repository.
The obvious workaround is to use repository dependencies instead of submodules.