root/trunk/YamlReference/Setup.hs
| Revision 5, 347 bytes (checked in by oren, 11 months ago) |
|---|
| Line | |
|---|---|
| 1 | import Distribution.Simple |
| 2 | import System.Cmd |
| 3 | main = 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)