Compare commits

...

1 Commits
2.0.0 ... main

Author SHA1 Message Date
9a73b7f248 Updates for Nim 2.0 2024-08-05 07:02:06 -05:00
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
const VERSION* = "2.0.0" const VERSION* = "2.0.1"
const USAGE* = """ const USAGE* = """
Usage: Usage:
@ -60,4 +60,4 @@ Options:
Show or hide information about files which are found only in the right Show or hide information about files which are found only in the right
tree. tree.
""" """

View File

@ -1,4 +1,5 @@
import md5, streams import std/streams
import checksums/md5
proc fileToMD5*(filename: string) : string = proc fileToMD5*(filename: string) : string =

View File

@ -1,5 +1,5 @@
# Package # Package
version = "2.0.0" version = "2.0.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,11 +7,10 @@ bin = @["treediff"]
srcDir = "src/main/nim" srcDir = "src/main/nim"
# Dependencies # Dependencies
requires: @["nim >= 1.0.4", "docopt >= 0.6.8"] requires: @["nim >= 2.0.0", "docopt == 0.7.1", "checksums"]
# Dependencies from git.jdb-software.com/jdb/nim-packages # Dependencies from git.jdb-software.com/jdb/nim-packages
requires: @["console_progress >= 1.2.2"] requires: @["console_progress >= 1.2.2", "update_nim_package_version"]
requires "https://git.jdb-software.com/jdb/update-nim-package-version.git"
task updateVersion, "Update the version of this package.": task updateVersion, "Update the version of this package.":
exec "update_nim_package_version treediff 'src/main/nim/cliconstants.nim'" exec "update_nim_package_version treediff 'src/main/nim/cliconstants.nim'"