From 1e0af4841155755490bf92ca64985729188c8961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Tue, 25 Dec 2018 13:34:44 +0100 Subject: [PATCH] Nimble considers URL deps different from name deps and it installs the same package again, at a version tag, even though @#head was already available, then it errors out: https://github.com/nim-lang/nimble/blob/68bb97f30ae996ddd89938625c102d69cb0af650/src/nimble.nim#L198 - added a .gitignore for the "tests" dir --- .gitignore | 1 + bncurve.nimble | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5dff305 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/tests diff --git a/bncurve.nimble b/bncurve.nimble index 8729227..3015eed 100644 --- a/bncurve.nimble +++ b/bncurve.nimble @@ -7,8 +7,8 @@ skipDirs = @["tests", "Nim", "nim"] ### Dependencies -requires "nim > 0.18.0" -requires "https://github.com/cheatfate/nimcrypto" +requires "nim > 0.18.0", + "nimcrypto" task test, "Run all tests": exec "nim c -f -r -d:release tests/tarith"