mirror of
https://github.com/logos-storage/nim-circom-compat.git
synced 2026-01-02 13:43:13 +00:00
move contents of build.nims to nimble
This commit is contained in:
parent
c59168ef60
commit
841550bb26
@ -1,8 +0,0 @@
|
|||||||
import std/os
|
|
||||||
|
|
||||||
task genffi, "update the nim ffi bindings":
|
|
||||||
exec "cargo install --git https://github.com/arnetheduck/nbindgen#e80a85f1505d78eeae78ce33b6f406603be27d35 nbindgen"
|
|
||||||
exec "nbindgen -c ./cbindgen.toml vendor/circom-compat-ffi --output circomcompatffi.nim"
|
|
||||||
|
|
||||||
task tests, "run unit tests":
|
|
||||||
exec "nim c -r tests/testcircomcompat.nim"
|
|
||||||
@ -11,4 +11,11 @@ srcDir = "src"
|
|||||||
|
|
||||||
requires "nim >= 1.2.18"
|
requires "nim >= 1.2.18"
|
||||||
|
|
||||||
include "build.nims"
|
import std/os
|
||||||
|
|
||||||
|
task genffi, "update the nim ffi bindings":
|
||||||
|
exec "cargo install --git https://github.com/arnetheduck/nbindgen#e80a85f1505d78eeae78ce33b6f406603be27d35 nbindgen"
|
||||||
|
exec "nbindgen -c ./cbindgen.toml vendor/circom-compat-ffi --output circomcompatffi.nim"
|
||||||
|
|
||||||
|
task tests, "run unit tests":
|
||||||
|
exec "nim c -r tests/testcircomcompat.nim"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user