2018-09-27 13:35:59 +03:00
|
|
|
packageName = "bncurve"
|
2018-10-16 11:30:14 +03:00
|
|
|
version = "1.0.1"
|
2018-09-27 13:35:59 +03: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
|
|
|
|
|
2024-06-06 20:50:50 +00:00
|
|
|
requires "nim >= 1.6.0",
|
2024-08-08 16:29:06 +02:00
|
|
|
"nimcrypto",
|
|
|
|
"stint"
|
2018-09-27 13:35:59 +03:00
|
|
|
|
|
|
|
task test, "Run all tests":
|
2019-01-08 23:30:36 +01:00
|
|
|
for tprog in @[
|
|
|
|
"tests/tarith",
|
|
|
|
"tests/tfields",
|
|
|
|
"tests/tgroups",
|
|
|
|
"tests/tpairing",
|
|
|
|
"tests/tether",
|
|
|
|
"tests/tvectors",
|
|
|
|
]:
|
2024-06-06 22:06:06 +00:00
|
|
|
exec "nim c -f -r -d:release --styleCheck:error --styleCheck:usages --threads:on " & tprog
|