ed25519-0.0.5.0: tests/hlint.hs
module Main
( main -- :: IO ()
) where
import Control.Monad
import Data.Monoid
import Language.Haskell.HLint
import System.Environment
import System.Exit
main :: IO ()
main = do
args <- getArgs
hints <- hlint $ [ "src", "benchmarks", "tests"
, "--cpp-define=HLINT"
, "--cpp-file=dist/build/autogen/cabal_macros.h"
] `mappend` args
unless (null hints) exitFailure