#!/bin/sh

# check the library type checks on each commit

echo -n "Testing type correctness ... "
result=`echo ":q" | ghci -v0 -fglasgow-exts Test/Selenium/*.hs 2>&1`

if [ -z "$result" ] ; then
    echo "well typed!"
    true
else 
    echo "Type error."
    echo $result
    false
fi
