2018-09-27 10:35:59 +00:00
|
|
|
packageName = "bncurve"
|
2018-10-16 08:30:14 +00:00
|
|
|
version = "1.0.1"
|
2018-09-27 10:35:59 +00:00
|
|
|
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":
|
2018-09-27 11:04:40 +00:00
|
|
|
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"
|
2018-10-16 08:30:14 +00:00
|
|
|
exec "nim c -f -r -d:release tests/tether"
|
2018-09-27 11:04:40 +00:00
|
|
|
exec "nim c -f -r -d:release tests/tvectors"
|