garnet/generate-bindings
2026-03-24 11:24:40 +00:00

6 lines
209 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# Place library in the location from which Cabal can bundle it.
cp rust/target/debug/libgarnet_rs.a $(cabal list-bin . | sed -e 's=x/garnet/build/garnet/garnet=build=g')