From fc94ccde7b654f0040f83ed22a104e03dab4d6ae Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Fri, 22 Dec 2023 17:38:37 -0700 Subject: [PATCH] initial setup to build as a nim package --- codex_storage_proofs.nim | 11 +++++++++++ codex_storage_proofs.nimble | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 codex_storage_proofs.nim create mode 100644 codex_storage_proofs.nimble diff --git a/codex_storage_proofs.nim b/codex_storage_proofs.nim new file mode 100644 index 0000000..cdfec86 --- /dev/null +++ b/codex_storage_proofs.nim @@ -0,0 +1,11 @@ + +import std/os + +static: + let pth = currentSourcePath().parentDir() + echo "\n====" + echo "CODEX:STORAGE:PROOFS: ", pth + # echo "pwd: ", projectDir() + # echo "cwd: ", getCurrentDir() + + echo "\n====" diff --git a/codex_storage_proofs.nimble b/codex_storage_proofs.nimble new file mode 100644 index 0000000..abac065 --- /dev/null +++ b/codex_storage_proofs.nimble @@ -0,0 +1,9 @@ +version = "0.1.0" +author = "Jaremy Creechley" +description = "Codex Storage Proofs runner for Rust Circom library" +license = "MIT" +srcDir = "." + +# Dependencies + +requires "nim >= 1.6.14"