Fixes problem with subdirs and 'develop'. Documents package urls.

This commit is contained in:
Dominik Picheta 2018-02-23 22:43:28 +00:00
commit 7e3058657c
3 changed files with 20 additions and 3 deletions

View file

@ -1012,7 +1012,7 @@ proc develop(options: Options) =
let (meth, url, metadata) = getDownloadInfo(pv, options, true)
let subdir = metadata.getOrDefault("subdir")
discard downloadPkg(url, pv.ver, meth, subdir, options, downloadDir)
developFromDir(downloadDir, options)
developFromDir(downloadDir / subdir, options)
proc test(options: Options) =
## Executes all tests.