Simplify test driver for latest Falderal.
Chris Pressey
13 years ago
0 | 0 | #!/bin/sh |
1 | if [ "${FALDERAL}x" = "x" ]; then | |
2 | FALDERAL=../falderal/ | |
3 | fi | |
4 | ghc -i$FALDERAL $FALDERAL/Test/Falderal/Driver.hs -e 'format "haskell" "PLexceptGOTOdotNET.falderal"' > GeneratedFalderalTests.hs | |
5 | ghc -i$FALDERAL GeneratedFalderalTests.hs -e testModule | |
1 | ||
2 | # This assumes Falderal 0.4 is installed. The easiest way to do this is to | |
3 | # install it as a Cabal package: | |
4 | # $ hg clone https://bitbucket.org/catseye/falderal | |
5 | # $ cd falderal | |
6 | # $ cabal install --prefix=$HOME --user | |
7 | ||
8 | falderal test standard PLexceptGOTOdotNET.falderal |