Updates for Nim 2.0

This commit is contained in:
Jonathan Bernard 2024-08-05 06:15:51 -05:00
parent ce821d8f53
commit 9a73b7f248
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* = """
Usage:
@ -60,4 +60,4 @@ Options:
Show or hide information about files which are found only in the right
tree.
"""
"""

View File

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

View File

@ -1,5 +1,5 @@
# Package
version = "2.0.0"
version = "2.0.1"
author = "Jonathan Bernard (jdb@jdb-labs.com)"
description = "Utility to generate diffs of full directory trees."
license = "BSD"
@ -7,11 +7,10 @@ bin = @["treediff"]
srcDir = "src/main/nim"
# 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
requires: @["console_progress >= 1.2.2"]
requires "https://git.jdb-software.com/jdb/update-nim-package-version.git"
requires: @["console_progress >= 1.2.2", "update_nim_package_version"]
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'"