garnet/generate-bindings
George Thomas ef625c307d Symlink static lib instead of copying
This means we need to run the script much less often.
2026-03-24 11:22:41 +00:00

6 lines
220 B
Bash
Executable File

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