diff --git a/source/dub/commandline.d b/source/dub/commandline.d index e7304de..2488f4d 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -1403,8 +1403,12 @@ auto pack = pack_.basePackage; if (pack.name in visited) continue; visited[pack.name] = true; + auto dst_path = path ~ pack.name; logInfo("Copy package '%s' to destination folder...", pack.name); - copyFolderRec(pack.path, path ~ pack.name); + copyFolderRec(pack.path, dst_path); + + // overwrite package description file with additional version information + pack_.storeInfo(dst_path); } logInfo("Executing dustmite..."); auto testcmd = format("dub dustmite --vquiet --test-package=%s", prj.name);