Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
c59a700cf9 | |||
641a562563 | |||
e49bd4e9c9 |
@ -3,16 +3,17 @@ apply plugin: "application"
|
|||||||
apply plugin: "maven"
|
apply plugin: "maven"
|
||||||
|
|
||||||
group = "com.jdblabs"
|
group = "com.jdblabs"
|
||||||
version = "1.4.2"
|
version = "1.4.4"
|
||||||
mainClassName = "com.jdblabs.file.treediff.TreeDiff"
|
mainClassName = "com.jdblabs.file.treediff.TreeDiff"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
mavenCentral() }
|
mavenCentral()
|
||||||
|
maven { url "http://mvn.jdb-labs.com/repo" } }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'org.codehaus.groovy:groovy-all:2.4.3'
|
compile localGroovy()
|
||||||
compile 'com.jdbernard:jdb-util:3.8'
|
compile 'com.jdbernard:jdb-util:4.+'
|
||||||
compile 'commons-codec:commons-codec:1.10'
|
compile 'commons-codec:commons-codec:1.10'
|
||||||
compile 'com.fasterxml.jackson.core:jackson-databind:2.4.4'
|
compile 'com.fasterxml.jackson.core:jackson-databind:2.4.4'
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import org.apache.commons.codec.digest.DigestUtils
|
|||||||
|
|
||||||
public class TreeDiff {
|
public class TreeDiff {
|
||||||
|
|
||||||
public static final String VERSION = "1.4.2"
|
public static final String VERSION = "1.4.3"
|
||||||
|
|
||||||
private ObjectMapper objectMapper = new ObjectMapper()
|
private ObjectMapper objectMapper = new ObjectMapper()
|
||||||
private PrintStream stdout
|
private PrintStream stdout
|
||||||
|
@ -24,7 +24,8 @@ proc newProgressWrapper*(outFile = stdout, verbosity = normal): ProgressWrapper
|
|||||||
else: result = (impl: nil, verbosity: verbosity)
|
else: result = (impl: nil, verbosity: verbosity)
|
||||||
|
|
||||||
proc init(p: ProgressWrapper, root: string, fileCount: int): void =
|
proc init(p: ProgressWrapper, root: string, fileCount: int): void =
|
||||||
if p.verbosity == normal: echo "-- ", root.expandFilename
|
if p.verbosity == normal:
|
||||||
|
echo "-- ", root.expandFilename, "\L ", fileCount, " files"
|
||||||
if p.verbosity > very_quiet: p.impl.setMax(fileCount)
|
if p.verbosity > very_quiet: p.impl.setMax(fileCount)
|
||||||
|
|
||||||
proc update(p: ProgressWrapper, count: int, file: string): void =
|
proc update(p: ProgressWrapper, count: int, file: string): void =
|
||||||
@ -231,7 +232,7 @@ Options:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
let args = docopt(doc, version = "treediff v1.4.2")
|
let args = docopt(doc, version = "treediff v1.4.3")
|
||||||
|
|
||||||
var verbosity = normal
|
var verbosity = normal
|
||||||
if args["--quiet"]: verbosity = quiet
|
if args["--quiet"]: verbosity = quiet
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Package
|
# Package
|
||||||
version = "1.4.2"
|
version = "1.4.3"
|
||||||
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"
|
||||||
|
Reference in New Issue
Block a user