Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 21 lines (17 sloc) 0.319 kb
#!/bin/bash
#
if [ -e "Setup.lhs" ] ; then
filename="Setup.lhs"
elif [ -e "Setup.hs" ] ; then
filename="Setup.hs"
else
echo "No Cabal setup file found!"
exit 0
fi
runghc $filename configure
if [ $? -eq 0 ] ; then
runghc $filename build
if [ $? -eq 0 ] ; then
sudo runghc $filename install
fi
fi
Jump to Line
Something went wrong with that request. Please try again.