Minor changes.
h3rald h3rald@h3rald.com
Sat, 31 Mar 2018 16:33:11 +0200
2 files changed,
4 insertions(+),
4 deletions(-)
M
nifty.nim
→
nifty.nim
@@ -94,14 +94,14 @@ pkg.confirmAndRemoveDir()
else: warn "Package '$1' not found." % pkg -proc listPackages(prj: NiftyProject, dir: string): TreeNode = +proc buildTree(prj: NiftyProject, dir: string): TreeNode = var node = newTreeNode(dir.extractFilename) for k, v in prj.packages.pairs: var d = dir / prj.storage / k var p = newNiftyProject(d) if p.configured: p.load - node.add listPackages(p, d) + node.add buildTree(p, d) else: node.add newTreeNode(k) return node@@ -223,7 +223,7 @@ confirmAndRemovePackage(prj.storage/args[1])
of "list": prj.load let pwd = getCurrentDir() - echo listPackages(prj, pwd).tree + echo buildTree(prj, pwd).tree of "info": if args.len < 2: fatal "No package specified."
M
nifty.nimble
→
nifty.nimble
@@ -2,7 +2,7 @@ [Package]
name = "nifty" version = "1.0.0" author = "Fabio Cevasco" -description = "A pseudo package manager and script runner." +description = "A decentralized (pseudo) package manager and script runner." license = "MIT" bin = "nifty"