-
Notifications
You must be signed in to change notification settings - Fork 121
/
kzg4844.nimble
46 lines (38 loc) · 1012 Bytes
/
kzg4844.nimble
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
mode = ScriptMode.Verbose
##################################################
# Package definition
##################################################
packageName = "kzg4844"
version = "2.0.1"
author = "Andri Lim"
description = "Nim wrapper of c-kzg-4844"
license = "Apache License 2.0"
skipDirs = @[
"tests", "lib", "inc", "fuzz",
"bindings/csharp",
"bindings/go",
"bindings/java",
"bindings/node.js",
"bindings/python",
"bindings/rust"
]
installDirs = @[
"blst",
"src",
"bindings/nim"
]
requires "nim >= 1.6.0",
"results",
"stew"
##################################################
# Test code
##################################################
import "bindings/nim/config.nims"
task test, "Run all tests":
runAllTest()
##################################################
# Package installation code
##################################################
after install:
mvDir("bindings/nim/nimble", ".")
rmDir("bindings/nim/tests")