[preprocessors, setup test ijones@syntaxpolice.org**20050714060331] { hunk ./doc/Cabal.xml 937 + + Preprocessors + Cabal will automatically handle certain preprocessors + including GreenCard, hsc2hs, happy, and alex. To use these + preprocessors, just specify the module name (without any + extension) in the exposed-modules or + extra-modules fields. No further steps are + required. Cabal will look for modules with extensions + corresponding to the preprocessors it knows about (".y" for + Happy files, ".gc" for GreenCard files, etc.), run the + appropriate preprocessor on those files, then compile the + output. + + hunk ./doc/Cabal.xml 959 - You can customize the simple build infrastructure using - hooks. These allow you to perform - additional actions before and after each command is run, - and also to specify additional preprocessors. See &Simple; - for the details, but note that this interface is experimental, - and likely to change in future releases.. + You can customize the simple build infrastructure + using hooks. These allow you to + perform additional actions before and after each command is + run, and also to specify additional preprocessors. See + UserHooks in &Simple; for the details, + but note that this interface is experimental, and likely to + change in future releases. hunk ./doc/Cabal.xml 1435 + + + + setup test + + Run the test suite specified by the + runTests field of + Distribution.Simple.UserHooks. See &Simple; + for information about creating hooks and using + defaultMainWithHooks. + }