
import System.Time.Extra
import System.Process.Extra


main :: IO ()
main = do
    system_ "cabal install apply-refact"
    system_ "hlint --test +RTS -K512K"
    (time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K"
    putStrLn $ "Running HLint on self took " ++ showDuration time


import System.Time.Extra
import System.Process.Extra


main :: IO ()
main = do
    system_ "cabal new-install apply-refact --install-method=copy"
    system_ "hlint --test +RTS -K512K"
    (time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K"
    putStrLn $ "Running HLint on self took " ++ showDuration time

Make sure the install works with new Cabal on Windows
Make sure the install works with new Cabal on Windows
