Use newer version of console_progress for bug fix.
This commit is contained in:
parent
2277dd0828
commit
92d8ed61fc
@ -3,7 +3,7 @@ apply plugin: "application"
|
|||||||
apply plugin: "maven"
|
apply plugin: "maven"
|
||||||
|
|
||||||
group = "com.jdblabs"
|
group = "com.jdblabs"
|
||||||
version = "1.4.0"
|
version = "1.4.1"
|
||||||
mainClassName = "com.jdblabs.file.treediff.TreeDiff"
|
mainClassName = "com.jdblabs.file.treediff.TreeDiff"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -8,7 +8,7 @@ import org.apache.commons.codec.digest.DigestUtils
|
|||||||
|
|
||||||
public class TreeDiff {
|
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 ObjectMapper objectMapper = new ObjectMapper()
|
||||||
private PrintStream stdout
|
private PrintStream stdout
|
||||||
|
@ -21,7 +21,7 @@ proc update(p: ProgressWrapper, count: int, file: string): void =
|
|||||||
proc finish(p: ProgressWrapper): void =
|
proc finish(p: ProgressWrapper): void =
|
||||||
if p.verbosity > very_quiet:
|
if p.verbosity > very_quiet:
|
||||||
p.impl.erase
|
p.impl.erase
|
||||||
echo " ", p.impl.getMax, " files.\L"
|
if p.verbosity == normal: echo " ", p.impl.getMax, " files.\L"
|
||||||
|
|
||||||
proc countFiles(root: string): int =
|
proc countFiles(root: string): int =
|
||||||
for file in walkDirRec(root):
|
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
|
var verbosity = normal
|
||||||
if args["--quiet"]: verbosity = quiet
|
if args["--quiet"]: verbosity = quiet
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Package
|
# Package
|
||||||
version = "0.1.0"
|
version = "1.4.1"
|
||||||
author = "Jonathan Bernard (jdb@jdb-labs.com)"
|
author = "Jonathan Bernard (jdb@jdb-labs.com)"
|
||||||
description = "Utility to generate diffs of full directory trees."
|
description = "Utility to generate diffs of full directory trees."
|
||||||
license = "BSD"
|
license = "BSD"
|
||||||
@ -7,4 +7,4 @@ bin = @["treediff"]
|
|||||||
srcDir = "src/main/nim"
|
srcDir = "src/main/nim"
|
||||||
|
|
||||||
# Dependencies
|
# 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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user