git @ Cat's Eye Technologies Quylthulg / rel_1_0_2019_1008 build.sh
rel_1_0_2019_1008

Tree @rel_1_0_2019_1008 (Download .tar.gz)

build.sh @rel_1_0_2019_1008raw · history · blame

#!/bin/sh

PROG=qlzqqlzuup

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) || exit 1
else
    echo "ghc not found, not building $PROG.exe"
fi

if command -v hastec >/dev/null 2>&1; then
    echo "building $PROG.js with hastec"
    (cd src && hastec --make HasteMain.hs -o ../demo/$PROG.js) || exit 1
else
    echo "hastec not found, not building $PROG.js"
fi