1 -- Setup.hs taken from 'cabal-testsuite/Setup.hs'
2 {-# LANGUAGE Haskell2010 #-}
3 module Main
(main
) where
5 import Distribution
.Simple
8 main
= defaultMainWithHooks simpleUserHooks
9 { buildHook
= \pkg lbi hooks flags
-> do
10 putStrLn "Custom Setup.hs has been invoked!"
11 buildHook simpleUserHooks pkg lbi hooks flags