From df1f73eb8af7bff2d079795f3b516d17da153eaa Mon Sep 17 00:00:00 2001 From: George Thomas Date: Tue, 24 Mar 2026 11:23:12 +0000 Subject: [PATCH] Script the full build --- generate-bindings => build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename generate-bindings => build (70%) diff --git a/generate-bindings b/build similarity index 70% rename from generate-bindings rename to build index ca75c7a..fceb60f 100755 --- a/generate-bindings +++ b/build @@ -1,5 +1,6 @@ #!/usr/bin/env bash set -euo pipefail -# Place library in the location from which Cabal can bundle it. +cargo build --manifest-path ./rust/Cargo.toml ln -sf $(pwd)/rust/target/debug/libgarnet_rs.a $(cabal list-bin . | sed -e 's=x/garnet/build/garnet/garnet=build=g') +cabal build