git @ Cat's Eye Technologies Lanthorn / 1.0 build.sh
1.0

Tree @1.0 (Download .tar.gz)

build.sh @1.0raw · history · blame

#!/bin/sh

PROG=lanthorn

if command -v ghc >/dev/null 2>&1; then
    echo "building $PROG.exe with ghc"
    (cd src && ghc --make Main.hs -o ../bin/$PROG.exe)
else
    echo "ghc not found, not building $PROG.exe"
fi