rem MakeSwish,bat rem rem Build swish executable and test programs using GHC. rem It is assumed that GHC is installed and appropriately referenced rem on the path. My path contains this: F:\ghc\ghc-5.04.3\bin rem rem Also assumes that the swish source code is in the current directory. rem rem $Id: MakeSwish.bat,v 1.4 2004/02/11 17:37:02 graham Exp $ rem Uses the following libraries. rem Change file ghcc.bat to reflect local placement rem rem libhunit = F:\Haskell\Lib\HUnit-1.0 rem libparsec = F:\Haskell\Lib\parsec rem libqsort = F:\Haskell\Lib\Sort! rem rem ghcc = ghc --make -fglasgow-exts -i%libhunit%;%libparsec%;%libqsort% rem Skip individual test harness builds rem go straight to SwishTestAll goto swish call ghcc DateTimeTest call ghcc ParseTest call ghcc ParseURITest call ghcc URITest call ghcc LookupMapTest call ghcc GraphTest call ghcc RDFGraphTest call ghcc N3ParserTest call ghcc N3FormatterTest rem New for swish 0.2.0: call ghcc BuiltInMapTest call ghcc ClassRestrictionRuleTest call ghcc NamespaceTest call ghcc QNameTest call ghcc RDFDatatypeXsdIntegerTest call ghcc RDFProofContextTest call ghcc RDFProofTest call ghcc RDFQueryTest call ghcc RDFRulesetTest call ghcc VarBindingTest call ghcc SwishTest rem New for swish 0.2.0: call ghcc GraphPartitionTest :swish call ghcc SwishTestAll call ghcc Swish goto end rem $Log: MakeSwish.bat,v $ rem Revision 1.4 2004/02/11 17:37:02 graham rem Update for Swish 0.2.1 rem rem Revision 1.3 2004/01/06 16:30:22 graham rem Trying to use new -main-is option rem rem Revision 1.2 2003/12/20 12:53:40 graham rem Fix up code to compile and test with GHC 5.04.3 rem rem Revision 1.1 2003/05/29 13:04:42 graham rem All tests now compile and pass as stand-alone programs compiled rem using GHC. Added batch files to compile programs and run tests. rem :end