update build setup

This commit is contained in:
Jaremy Creechley 2023-12-22 18:37:51 -07:00
parent 6ff6901cad
commit 90a88624b0
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,8 @@ proc test(name: string, srcDir = "tests/", params = "", lang = "c") =
exec "build/" & name
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/":
exec "cargo build --release"
buildBinary "storage_proofs", srcDir = "codex/utils/", params = "-f "

View File

@ -2,3 +2,5 @@
import codex_storage_proofs
import std/os
export codex_storage_proofs