Commits

Cat's Eye Technologies committed d5b145d

Standard build system. All test pass with both ghc and Hugs now.

  • Participants
  • Parent commits 84ac6c6

Comments (0)

Files changed (2)

 
     -> Tests for functionality "Interpret Flobnar program"
 
+    -> Functionality "Interpret Flobnar program" is implemented by
+    -> shell command
+    -> "bin/flobnar %(test-body-file)"
+
 Basics of Execution
 -------------------
 
 #!/bin/sh
 
-if [ x`which ghc` = x -a x`which runhugs` = x ]; then
-    echo "Neither ghc nor runhugs found on search path"
-    exit 1
-fi
-
-touch fixture.markdown
-
-if [ ! x`which ghc` = x ]; then
-    cat >>fixture.markdown <<EOF
-    -> Functionality "Interpret Flobnar program" is implemented by
-    -> shell command
-    -> "ghc src/Flobnar.hs -e "do c <- readFile \"%(test-body-file)\"; putStr $ showRun c""
-
-EOF
-fi
-
-if [ ! x`which runhugs` = x ]; then
-    cat >>fixture.markdown <<EOF
-    -> Functionality "Interpret Flobnar program" is implemented by
-    -> shell command
-    -> "runhugs src/Main.hs %(test-body-file)"
-
-EOF
-fi
-
-falderal -b fixture.markdown README.markdown
-RESULT=$?
-rm -f fixture.markdown
-exit $RESULT
+./build.sh && falderal -b README.markdown