update build setup
This commit is contained in:
parent
6ff6901cad
commit
90a88624b0
|
@ -22,6 +22,8 @@ proc test(name: string, srcDir = "tests/", params = "", lang = "c") =
|
||||||
exec "build/" & name
|
exec "build/" & name
|
||||||
|
|
||||||
task buildStorageProofs, "build codex storage proofs":
|
task buildStorageProofs, "build codex storage proofs":
|
||||||
|
## pre-build codex-storage-proofs to cache the first cargo build
|
||||||
|
## though `codex-storage-proofs/codex_storage_proofs.nim` calls cargo build again
|
||||||
withDir "vendor/codex-storage-proofs/":
|
withDir "vendor/codex-storage-proofs/":
|
||||||
exec "cargo build --release"
|
exec "cargo build --release"
|
||||||
buildBinary "storage_proofs", srcDir = "codex/utils/", params = "-f "
|
buildBinary "storage_proofs", srcDir = "codex/utils/", params = "-f "
|
||||||
|
|
|
@ -2,3 +2,5 @@
|
||||||
import codex_storage_proofs
|
import codex_storage_proofs
|
||||||
|
|
||||||
import std/os
|
import std/os
|
||||||
|
|
||||||
|
export codex_storage_proofs
|
Loading…
Reference in New Issue