Skip to content

Commit 2ae3e91

Browse files
committed
chore: rename src to nim_peerdas_kzg and flatten directory structure
1 parent 9aa5b3f commit 2ae3e91

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

bindings/nim/nim_code/nim_peerdas_kzg.nimble

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ author = "Kevaundray Wedderburn"
88
description = "PeerDas KZG bindings"
99
license = "MIT"
1010

11-
import src/build_utils
11+
import nim_peerdas_kzg/build_utils
1212

1313
const staticLibInstallDir = getInstallDir()
1414

1515
installDirs = @[
16-
"src",
16+
"nim_peerdas_kzg",
1717
staticLibInstallDir,
1818
]
1919

bindings/nim/nim_code/src/nim_peerdas_kzg/bindings.nim bindings/nim/nim_code/nim_peerdas_kzg/bindings.nim

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
2-
import ../build_utils
3-
import ../header
2+
import build_utils
3+
4+
import header
45
export header
56

67
when defined(windows):

bindings/nim/nim_code/src/nim_peerdas_kzg.nim bindings/nim/nim_code/nim_peerdas_kzg/nim_peerdas_kzg.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import nim_peerdas_kzg/bindings
1+
import bindings
22

33
import results
44
export results
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
switch("path", "$projectDir/../src")
1+
switch("path", "$projectDir/../nim_peerdas_kzg")

0 commit comments

Comments
 (0)