-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make use of the new Cabal testing interface
Also, take a chance to update the .cabal file
- Loading branch information
1 parent
4b5f951
commit cef04cd
Showing
2 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
import Distribution.Simple | ||
import System.Process (rawSystem) | ||
import System.Exit (ExitCode(..)) | ||
import System.FilePath ((</>)) | ||
main = defaultMainWithHooks $ simpleUserHooks { runTests = \args _ _ _ -> do | ||
ExitSuccess <- rawSystem "runhaskell" (("Test" </> "Runner.hs") : args) | ||
return () | ||
} | ||
main = defaultMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters