Make JavaScript version buildable with hastec-in-Docker-container.
Chris Pressey
1 year, 9 months ago
10 | 10 | |
11 | 11 | if command -v hastec >/dev/null 2>&1; then |
12 | 12 | echo "building $PROG.js with hastec" |
13 | (cd src && hastec --make HasteMain.hs -o ../demo/$PROG.js) | |
13 | (cd src && hastec --make HasteMain.hs -o $PROG.js && mv $PROG.js ../demo/$PROG.js) | |
14 | 14 | else |
15 | 15 | echo "hastec not found, not building $PROG.js" |
16 | 16 | fi |