diff --git a/src/nimble.nim b/src/nimble.nim index 5657951..4209519 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -663,8 +663,11 @@ proc listPaths(options: TOptions) = if kind != pcDir or not path.startsWith(options.getPkgsDir / name): continue - let nimbleFile = path / name.addFileExt("nimble") - if existsFile(nimbleFile): + let + babelFile = path / name.addFileExt("babel") + nimbleFile = path / name.addFileExt("nimble") + hasSpec = nimbleFile.existsFile or babelFile.existsFile + if hasSpec: var pkgInfo = getPkgInfo(path) var v: VersionAndPath v.version = newVersion(pkgInfo.version)