root/trunk/YamlReference/Setup.hs

Revision 5, 347 bytes (checked in by oren, 11 months ago)

Updated to version 0.8.
Versions from here on should only be created in this repository.

Line 
1import Distribution.Simple
2import System.Cmd
3main = defaultMainWithHooks $ defaultUserHooks { runTests = run, preClean = clean }
4    where run _ _ _ _ = do
5            system "dist/build/yaml2yeast-test/yaml2yeast-test tests"
6            return ()
7          clean _ _ = do
8            system "rm -f tests/*.error"
9            return (Nothing, [])
Note: See TracBrowser for help on using the browser.