aboutsummaryrefslogtreecommitdiff
path: root/html-test/run
blob: c14ab7b5dd27811983d5ef66014deac02ee50f9b (plain) (blame)
1
2
3
4
5
6
7
#!/usr/bin/env bash

export HADDOCK_PATH=$(which haddock)
LIB_PATH="$(dirname "$BASH_SOURCE")/../haddock-test/src/"
MAIN_PATH="$(dirname "$BASH_SOURCE")/Main.hs"
if [ -z "$RUNHASKELL" ]; then RUNHASKELL=runhaskell; fi
$RUNHASKELL -i:"$LIB_PATH" $MAIN_PATH $@