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
|
|
|
|
|
2018-12-25 12:34:44 +00:00
|
|
|
requires "nim > 0.18.0",
|
|
|
|
"nimcrypto"
|
2018-09-27 10:35:59 +00:00
|
|
|
|
|
|
|
task test, "Run all tests":
|
2019-01-08 22:30:36 +00:00
|
|
|
for tprog in @[
|
|
|
|
"tests/tarith",
|
|
|
|
"tests/tfields",
|
|
|
|
"tests/tgroups",
|
|
|
|
"tests/tpairing",
|
|
|
|
"tests/tether",
|
|
|
|
"tests/tvectors",
|
|
|
|
]:
|
|
|
|
exec "nim c -f -r -d:release --threads:on " & tprog
|
|
|
|
|