git @ Cat's Eye Technologies Robin / 3436c8b
Make JavaScript version buildable with hastec-in-Docker-container. Chris Pressey 4 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2525
2626 if command -v hastec >/dev/null 2>&1; then
2727 echo "building $PROG.js with hastec"
28 (cd src && hastec --make HasteMain.hs -o ../demo/$PROG.js) || exit 1
28 (cd src && hastec --make HasteMain.hs -o $PROG.js && mv $PROG.js ../demo/$PROG.js) || exit 1
2929 else
3030 echo "hastec not found, not building $PROG.js"
3131 fi