From: Ramakrishnan Muthukrishnan Date: Tue, 28 Apr 2015 03:11:04 +0000 (+0530) Subject: test: nuke hlint testsuite X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/css/banana.xhtml?a=commitdiff_plain;h=9e190c55da5cbf8aef1215ead1f0ce91e1b880b5;p=functorrent.git test: nuke hlint testsuite --- diff --git a/functorrent.cabal b/functorrent.cabal index a89ceb9..2d2db98 100644 --- a/functorrent.cabal +++ b/functorrent.cabal @@ -78,11 +78,3 @@ test-suite functorrent-test QuickCheck, tasty-quickcheck, test-framework-quickcheck2 - -test-suite functorrent-hlint - type: exitcode-stdio-1.0 - default-language: Haskell2010 - hs-source-dirs: test - main-is: Hlint.hs - build-depends: base, - hlint diff --git a/test/Hlint.hs b/test/Hlint.hs deleted file mode 100644 index 0fa2512..0000000 --- a/test/Hlint.hs +++ /dev/null @@ -1,12 +0,0 @@ -module Main where - -import Control.Monad -import Language.Haskell.HLint -import System.Environment -import System.Exit - -main :: IO () -main = do - args <- getArgs - hints <- hlint $ ["src", "--cpp-define=HLINT", "--cpp-ansi"] ++ args - unless (null hints) exitFailure