mirror of
https://github.com/logos-storage/logos-storage-proofs.git
synced 2026-01-06 23:43:07 +00:00
update build setup
This commit is contained in:
parent
19ed539d3e
commit
63188ae1a4
@ -6,7 +6,8 @@ import std/macros
|
|||||||
|
|
||||||
const
|
const
|
||||||
currentDir = currentSourcePath().parentDir()
|
currentDir = currentSourcePath().parentDir()
|
||||||
libPath* = currentDir/"target"/"release"/"libcodex_storage_proofs.a"
|
libDir* = currentDir/"target"/"release"
|
||||||
|
libPath* = libDir/"libcodex_storage_proofs.a"
|
||||||
|
|
||||||
static:
|
static:
|
||||||
let cmd = "cargo build --release"
|
let cmd = "cargo build --release"
|
||||||
@ -17,3 +18,5 @@ static:
|
|||||||
if exitCode != 0:
|
if exitCode != 0:
|
||||||
raise (ref Defect)(msg: "Failed to build codex-storage-proofs")
|
raise (ref Defect)(msg: "Failed to build codex-storage-proofs")
|
||||||
|
|
||||||
|
|
||||||
|
{.passl: "-lcodex_storage_proofs" & " -L" & libDir.}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user