main-is: Main.hs
other-extensions: OverloadedStrings
hs-source-dirs: src
- ghc-options: -Wall -fwarn-incomplete-patterns
+ ghc-options: -Wall -fwarn-incomplete-patterns -optc-Os
default-language: Haskell2010
build-depends: base,
base16-bytestring,
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
- main-is: hlint.hs
+ main-is: Hlint.hs
build-depends: base,
hlint
--- /dev/null
+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
+++ /dev/null
-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