Use newer version of console_progress for bug fix.

This commit is contained in:
Jonathan Bernard 2016-01-26 01:12:57 -06:00
parent 2277dd0828
commit 92d8ed61fc
4 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ apply plugin: "application"
apply plugin: "maven"
group = "com.jdblabs"
version = "1.4.0"
version = "1.4.1"
mainClassName = "com.jdblabs.file.treediff.TreeDiff"
repositories {

View File

@ -8,7 +8,7 @@ import org.apache.commons.codec.digest.DigestUtils
public class TreeDiff {
public static final String VERSION = "1.4.0"
public static final String VERSION = "1.4.1"
private ObjectMapper objectMapper = new ObjectMapper()
private PrintStream stdout

View File

@ -21,7 +21,7 @@ proc update(p: ProgressWrapper, count: int, file: string): void =
proc finish(p: ProgressWrapper): void =
if p.verbosity > very_quiet:
p.impl.erase
echo " ", p.impl.getMax, " files.\L"
if p.verbosity == normal: echo " ", p.impl.getMax, " files.\L"
proc countFiles(root: string): int =
for file in walkDirRec(root):
@ -190,7 +190,7 @@ Options:
"""
let args = docopt(doc, version = "treediff v1.4.0")
let args = docopt(doc, version = "treediff v1.4.1")
var verbosity = normal
if args["--quiet"]: verbosity = quiet

View File

@ -1,5 +1,5 @@
# Package
version = "0.1.0"
version = "1.4.1"
author = "Jonathan Bernard (jdb@jdb-labs.com)"
description = "Utility to generate diffs of full directory trees."
license = "BSD"
@ -7,4 +7,4 @@ bin = @["treediff"]
srcDir = "src/main/nim"
# Dependencies
requires: @["nim >= 0.13.0", "docopt >= 0.1.0", "console_progress >= 1.2"]
requires: @["nim >= 0.13.0", "docopt >= 0.1.0", "console_progress >= 1.2.1"]