nim-bncurve/bncurve.nimble

23 lines
621 B
Plaintext
Raw Permalink Normal View History

2018-09-27 10:35:59 +00:00
packageName = "bncurve"
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
2024-06-06 20:50:50 +00:00
requires "nim >= 1.6.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",
]:
2024-06-06 22:06:06 +00:00
exec "nim c -f -r -d:release --styleCheck:error --styleCheck:usages --threads:on " & tprog