mirror of
https://github.com/status-im/nim-blscurve-backup.git
synced 2025-02-23 06:58:19 +00:00
21 lines
513 B
Nim
21 lines
513 B
Nim
packageName = "blscurve"
|
|
version = "0.0.1"
|
|
author = "Status Research & Development GmbH"
|
|
description = "BLS381-12 Curve implementation"
|
|
license = "Apache License 2.0"
|
|
|
|
### Dependencies
|
|
requires "nim >= 0.18.1", "nimcrypto"
|
|
|
|
### Helper functions
|
|
proc test(name: string, defaultLang = "c") =
|
|
if not dirExists "build":
|
|
mkDir "build"
|
|
--run
|
|
switch("out", ("./build/" & name))
|
|
setCommand defaultLang, "tests/" & name & ".nim"
|
|
|
|
### tasks
|
|
task test, "Run all tests":
|
|
test "all_tests"
|