updated build system

This commit is contained in:
sgraves committed 2026-11-22 18:45:45 -06:00
1 parent 41fe87d90a
commit 98e64770fb
26 files changed
+472 -26

No files matched your search

Executable
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
CURRENT_DIR=$(dirname "$0")
CURRENT_DIR=$(realpath "${CURRENT_DIR}")
pushd "${CURRENT_DIR}"
git clone https://github.com/SiaFoundation/sia-sdk-rs.git
pushd "sia-sdk-rs"
git pull
if [ "${PROJECT_IS_MINGW}" == "1" ]; then
cargo build --locked --release \
--target x86_64-pc-windows-gnu \
-p sia_storage_cabi
else
cargo build --locked --release \
-p sia_storage_cabi
fi
popd
popd