nim-bncurve/bncurve.nimble

19 lines
622 B
Plaintext
Raw Normal View History

2018-09-27 10:35:59 +00:00
packageName = "bncurve"
version = "1.0.0"
author = "Status Research & Development GmbH"
description = "Barreto-Naehrig pairing-friendly elliptic curve implementation"
license = "Apache License 2.0 or MIT"
skipDirs = @["tests", "Nim", "nim"]
### Dependencies
requires "nim > 0.18.0"
2018-09-27 10:46:06 +00:00
requires "https://github.com/cheatfate/nimcrypto"
2018-09-27 10:35:59 +00:00
task test, "Run all tests":
exec "nim c -f -r -d:release tests/tarith"
exec "nim c -f -r -d:release tests/tfields"
exec "nim c -f -r -d:release tests/tgroups"
exec "nim c -f -r -d:release tests/tpairing"
exec "nim c -f -r -d:release tests/tvectors"