mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 16:33:08 +00:00
ensure build dir for RLN exists
This commit is contained in:
parent
611b92f4eb
commit
074387fe49
@ -21,6 +21,11 @@ proc ensureRln(libFile: string = "build/librln.a", version = "v0.8.0") =
|
|||||||
echo "Building RLN library..."
|
echo "Building RLN library..."
|
||||||
let buildDir = parentDir(parentDir(getCurrentDir())) & "/vendor/zerokit"
|
let buildDir = parentDir(parentDir(getCurrentDir())) & "/vendor/zerokit"
|
||||||
let outFile = libFile
|
let outFile = libFile
|
||||||
|
|
||||||
|
let outDir = parentDir(outFile)
|
||||||
|
if not dirExists(outDir):
|
||||||
|
mkDir(outDir) # Ensure build directory exists
|
||||||
|
|
||||||
exec "bash ../../scripts/build_rln.sh " & buildDir & " " & version & " " & outFile
|
exec "bash ../../scripts/build_rln.sh " & buildDir & " " & version & " " & outFile
|
||||||
else:
|
else:
|
||||||
echo "RLN library already exists: " & libFile
|
echo "RLN library already exists: " & libFile
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user