Update .nimble file to support Nimble 0.22+
This commit is contained in:
+10
-3
@@ -1,6 +1,6 @@
|
|||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
author = "Jonathan Bernard"
|
author = "Jonathan Bernard"
|
||||||
description = "Small utility to pretty-print strucutured logs."
|
description = "Small utility to pretty-print strucutured logs."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@@ -10,5 +10,12 @@ bin = @["slfmt"]
|
|||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
requires @["nim >= 2.2.0", "docopt >= 0.7.1"]
|
requires "nim >= 2.2.0"
|
||||||
requires @["cliutils >= 0.11.0", "timeutils", "zero_functional"]
|
requires "docopt >= 0.7.1"
|
||||||
|
requires "cliutils >= 0.11.0"
|
||||||
|
requires "timeutils"
|
||||||
|
requires "zero_functional"
|
||||||
|
requires "update_version"
|
||||||
|
|
||||||
|
task updateVersion, "Update the version of this package.":
|
||||||
|
exec "update_version interactive src/slfmt.nim"
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ import cliutils, docopt, timeutils, zero_functional
|
|||||||
from std/logging import Level
|
from std/logging import Level
|
||||||
import std/nre except toSeq
|
import std/nre except toSeq
|
||||||
|
|
||||||
const VERSION = "1.0.1"
|
const VERSION = "1.0.2"
|
||||||
|
|
||||||
const USAGE = """Usage:
|
const USAGE = """Usage:
|
||||||
slfmt [options]
|
slfmt [options]
|
||||||
|
|||||||
Reference in New Issue
Block a user