packages feed

network 2.2.3 → 2.2.3.1

raw patch · 2 files changed

+3/−14 lines, 2 filessetup-changed

Files

Setup.hs view
@@ -1,17 +1,6 @@ module Main (main) where -import Control.Monad (unless)-import Distribution.Simple (defaultMainWithHooks, runTests, simpleUserHooks)-import Distribution.Simple.LocalBuildInfo (LocalBuildInfo(..))-import Distribution.Simple.Utils (die)-import System.Cmd (system)-import System.Directory (doesDirectoryExist)+import Distribution.Simple  main :: IO ()-main = defaultMainWithHooks $ simpleUserHooks { runTests = runTests' }-    where-      runTests' _ _ _ lbi = do-          built <- doesDirectoryExist $ buildDir lbi-          unless built $ die "Run the 'build' command first."-          system "runhaskell -i./dist/build tests/Simple.hs"-          return ()+main = defaultMainWithHooks defaultUserHooks
network.cabal view
@@ -1,5 +1,5 @@ name:           network-version:        2.2.3+version:        2.2.3.1 license:        BSD3 license-file:   LICENSE maintainer:     Johan Tibell <johan.tibell@gmail.com>