#!/bin/sh # build the gdo executable HC="ghc -v0" gdo --if Changed Main.hs Lib.hs gdo --if Created environment if [ -e environment ]; then source ./environment fi ${HC} Main.hs -o ${3}