From fbe25cfad3f0dfbcf395d2a1f22c9a3646e4a7fa Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 3 Feb 2016 19:28:48 -0800 Subject: [PATCH] Add config --- h3.nimble | 6 ++++-- src/h3.nims | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 src/h3.nims diff --git a/h3.nimble b/h3.nimble index 9ce3dc8..d545341 100644 --- a/h3.nimble +++ b/h3.nimble @@ -9,6 +9,8 @@ bin = @["h3"] # Dependencies -requires "nim >= 0.13.0", "irc" +requires "nim >= 0.13.0", "irc >= 0.1.0", "parsetoml >= 0.2.0" -switch "define", "ssl" +task run, "Runs h3": + exec "nimble build" + exec "./h3" diff --git a/src/h3.nims b/src/h3.nims new file mode 100644 index 0000000..96c7687 --- /dev/null +++ b/src/h3.nims @@ -0,0 +1,2 @@ +--define:ssl +--threads:on