Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (18 sloc) 0.431 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/bin/sh

HCBASE=/usr/bin/
HC=$HCBASE/ghc
GHCFLAGS='--make -Wall -fno-warn-unused-matches -cpp'
ISPOSIX=-DHAVE_UNIX_PACKAGE

rm -f moduleTest
mkdir -p dist/debug
echo Building...
$HC $GHCFLAGS $ISPOSIX -DDEBUG -odir dist/debug -hidir dist/debug -idist/debug/:.:tests/HUnit-1.0/src tests/ModuleTest.hs -o moduleTest 2> stderr
RES=$?
if [ $RES != 0 ]
then
    cat stderr >&2
    exit $RES
fi
echo Running...
./moduleTest
echo Done
Something went wrong with that request. Please try again.