packages feed

hashed-storage-0.3.1: Setup.hs

import Distribution.Simple
         ( defaultMainWithHooks, UserHooks(..), simpleUserHooks )
import Distribution.Simple.LocalBuildInfo( LocalBuildInfo(..) )
import System( system )
import System.FilePath( (</>) )

main :: IO ()
main = defaultMainWithHooks simpleUserHooks {
  runTests = \ _ _ _ lbi -> do
               system $ buildDir lbi </> hst </> hst
               return ()
}
    where hst = "hashed-storage-test"