nim-groth16/groth16.nimble

25 lines
890 B
Nim

version = "0.1.1"
author = "Balazs Komuves"
description = "Groth16 proof system"
license = "MIT OR Apache-2.0"
skipDirs = @["groth16/example"]
binDir = "build"
namedBin = {"cli/cli_main": "nim-groth16"}.toTable()
installExt = @["nim"]
requires "nim >= 2.2.0"
requires "https://github.com/status-im/nim-taskpools >= 0.0.5"
requires "https://github.com/mratsim/constantine"
# requires "https://github.com/mratsim/constantine#bc3845aa492b52f7fef047503b1592e830d1a774"
task test_arc, "run the test suite under --mm:arc":
exec "nim c -r --threads:on --mm:arc tests/test.nim"
task test_refc, "run the test suite under --mm:refc":
exec "nim c -r --threads:on --mm:refc tests/test.nim"
task test, "run the test suite under both --mm:arc and --mm:refc":
exec "nim c -r --threads:on --mm:arc tests/test.nim"
exec "nim c -r --threads:on --mm:refc tests/test.nim"