os-release-0.2.2: tests/HLint.hs
module Main (main) where
import Language.Haskell.HLint (hlint)
import System.Exit (exitFailure, exitSuccess)
arguments :: [String]
arguments =
[
"library"
, "--cpp-file=dist/build/autogen/cabal_macros.h"
, "tests"
]
main :: IO ()
main = do
hints <- hlint arguments
if null hints then exitSuccess else exitFailure