Skip to content

Instantly share code, notes, and snippets.

@spockz
Created February 26, 2012 09:24
Show Gist options
  • Save spockz/1915609 to your computer and use it in GitHub Desktop.
Save spockz/1915609 to your computer and use it in GitHub Desktop.
Wrapper for ghc --make
#/usr/bin/env bash
PAR=false;
for thing in "$@"
do
if [ $thing = "--make" ]
then
PAR=true
break
fi
done
if [ $PAR = true ]
then
ghc-parmake -j9 $*
else
/usr/bin/ghc $*
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment