#!/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')