update build setup

This commit is contained in:
Jaremy Creechley 2023-12-22 18:32:34 -07:00
parent 8ebd8c326d
commit 6ff6901cad
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 3 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":
withDir "vendor/codex-storage-proofs/":
exec "cargo build --release"
buildBinary "storage_proofs", srcDir = "codex/utils/", params = "-f "
task codex, "build codex binary":
@ -29,6 +31,7 @@ task codex, "build codex binary":
buildBinary "codex", params = "-d:chronicles_runtime_filtering -d:chronicles_log_level=TRACE"
task testCodex, "Build & run Codex tests":
buildStorageProofsTask()
test "testCodex", params = "-d:codex_enable_proof_failures=true -d:codex_use_hardhat=true"
task testContracts, "Build & run Codex Contract tests":