From 926fb4b919ef48948efd09411bc5b1213f787a60 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Wed, 10 Jan 2024 16:42:40 +0200 Subject: [PATCH] update build --- .gitignore | 1 + build.nims | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 65cd95c..2360bee 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ src/circuit_tests/artifacts/* !src/circuit_tests/artifacts/.keep codex_storage_proofs test/tffi +node_modules diff --git a/build.nims b/build.nims index f86fd33..7da60f4 100644 --- a/build.nims +++ b/build.nims @@ -4,6 +4,7 @@ task genffi, "update the nim ffi bindings": exec "nbindgen --crate codex-storage-proofs --output codex_proofs_ffi.nim" task compileCircuits, "compile test circuits": + exec "npm i" exec "circom src/circuit_tests/poseidon-digest-test.circom --r1cs --wasm -o src/circuit_tests/artifacts" exec "circom src/circuit_tests/poseidon-hash-test.circom --r1cs --wasm -o src/circuit_tests/artifacts" exec "circom src/circuit_tests/storer-test.circom --r1cs --wasm -o src/circuit_tests/artifacts"