packages feed

aeson-diff-1.0.0.0: test/hlint-check.hs

module Main (main) where

import Language.Haskell.HLint (hlint)
import System.Exit            (exitFailure, exitSuccess)

arguments :: [String]
arguments =
    [ "lib"
    , "src"
    , "test"
    ]

main :: IO ()
main = do
    hints <- hlint arguments
    if null hints
    then exitSuccess
    else exitFailure