From 441063a393390d05e20c1968ffa142a184f873f1 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Mon, 2 Apr 2018 14:39:49 -0500 Subject: [PATCH] Update to support Nim 0.18 --- cliutils.nim | 2 +- cliutils.nimble | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cliutils.nim b/cliutils.nim index 1a84d02..cacea76 100644 --- a/cliutils.nim +++ b/cliutils.nim @@ -108,7 +108,7 @@ proc onStop(sig: cint) {.noconv.} = quit(QuitSuccess) -proc daemonize*(pidfile, si, so, se: string, daemonMain: proc(): void): int = +proc daemonize*(pidfile, si, so, se: string, daemonMain: proc(): void): Pid = if fileExists(pidfile): raise newException(IOError, "pidfile " & pidfile & " already exists, daemon already running?") diff --git a/cliutils.nimble b/cliutils.nimble index 169b4f1..54f5338 100644 --- a/cliutils.nimble +++ b/cliutils.nimble @@ -1,11 +1,11 @@ # Package -version = "0.3.1" +version = "0.3.2" author = "Jonathan Bernard" description = "Helper functions for writing command line interfaces." license = "MIT" # Dependencies -requires @["nim >= 0.15.3", "docopt"] +requires @["nim >= 0.18.1", "docopt"]