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: 68bb97f30a/src/nimble.nim (L198)
- added a .gitignore for the "tests" dir
This commit is contained in:
Ștefan Talpalaru 2018-12-25 13:34:44 +01:00
parent 7709d551c8
commit 1e0af48411
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/tests

View File

@ -7,8 +7,8 @@ skipDirs = @["tests", "Nim", "nim"]
### Dependencies ### Dependencies
requires "nim > 0.18.0" requires "nim > 0.18.0",
requires "https://github.com/cheatfate/nimcrypto" "nimcrypto"
task test, "Run all tests": task test, "Run all tests":
exec "nim c -f -r -d:release tests/tarith" exec "nim c -f -r -d:release tests/tarith"