2 Commits

Author SHA1 Message Date
jdb 78a8bb2c75 Update .nimble file to support Nimble 0.22+ 2026-07-07 14:49:59 -05:00
jdb 9a73b7f248 Updates for Nim 2.0 2024-08-05 07:02:06 -05:00
3 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const VERSION* = "2.0.0" const VERSION* = "2.0.2"
const USAGE* = """ const USAGE* = """
Usage: Usage:
+2 -1
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 =
+6 -4
View File
@@ -1,5 +1,5 @@
# Package # Package
version = "2.0.0" version = "2.0.2"
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,13 @@ 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"
requires "docopt == 0.7.1"
requires "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"
requires "https://git.jdb-software.com/jdb/update-nim-package-version.git" requires "update_nim_package_version"
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'"