Move Haskell package to top level

This commit is contained in:
George Thomas 2026-02-19 14:15:14 +00:00
parent 2bab0ff94e
commit 25875c7dc1
9 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
packages: haskell
packages: .
-- TODO a total hack
package garnet

View File

@ -11,7 +11,7 @@ set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
RUST_DIR="$SCRIPT_DIR/rust"
HASKELL_DIR="$SCRIPT_DIR/haskell"
HASKELL_DIR="$SCRIPT_DIR"
HEADER_NAME="garnet_rs.h"
HEADER="$RUST_DIR/$HEADER_NAME"
@ -124,4 +124,4 @@ hs-bindgen-cli preprocess \
echo "=== Done ==="
echo "Generated Haskell bindings in $HASKELL_DIR/generated/"
echo "Run 'cabal run garnet' to test."
echo "Run 'cabal run' to test."