sunlight 0.4.0.0 → 0.6.0.0
raw patch · 4 files changed
+25/−21 lines, 4 filesdep ~Cabaldep ~basedep ~bytestring
Dependency ranges changed: Cabal, base, bytestring, directory, old-locale, process, random, time, tuple
Files
- README.md +7/−0
- lib/Test/Sunlight/Shell.hs +4/−8
- sunlight-test.hs +4/−3
- sunlight.cabal +10/−10
README.md view
@@ -89,6 +89,13 @@ [Github](https://github.com/dan-t/cabal-bounds) [Hackage](http://hackage.haskell.org/package/cabal-bounds) +cabal-constraints - Repeatable builds for cabalized Haskell projects+[Github](https://github.com/benarmston/cabal-constraints)+[Hackage](http://hackage.haskell.org/package/cabal-constraints)++cabal-freeze - hopefully will appear in `cabal` soon.+[Github ticket](https://github.com/haskell/cabal/pull/1519)+ ## License sunlight is licensed under the BSD license.
lib/Test/Sunlight/Shell.hs view
@@ -50,14 +50,10 @@ hClose hin return (out, err, h) where- cp = CreateProcess { cmdspec = RawCommand c as- , cwd = Nothing- , env = Nothing- , std_in = CreatePipe- , std_out = CreatePipe- , std_err = CreatePipe- , close_fds = True- , create_group = False }+ cp = (proc c as) { std_in = CreatePipe+ , std_out = CreatePipe+ , std_err = CreatePipe+ , close_fds = True } bufsize :: Int bufsize = 512
sunlight-test.hs view
@@ -7,12 +7,13 @@ import Test.Sunlight +ghc s = (s, "ghc-" ++ s, "ghc-pkg-" ++ s)+ inputs = TestInputs { tiDescription = Nothing , tiCabal = "cabal"- , tiLowest = ("7.4", "ghc-7.4", "ghc-pkg-7.4")- , tiDefault = [ ("7.4", "ghc-7.4", "ghc-pkg-7.4")- , ("7.6", "ghc-7.6", "ghc-pkg-7.6") ]+ , tiLowest = ghc "7.4.1"+ , tiDefault = map ghc ["7.4.1", "7.6.3", "7.8.2"] , tiTest = [] }
sunlight.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: sunlight-version: 0.4.0.0+version: 0.6.0.0 synopsis: Test Cabalized package against multiple dependency versions description: @@ -40,15 +40,15 @@ Test.Sunlight.Shell build-depends:- base >=4.5.1.0 && < 5- , directory >= 1.1.0.2- , bytestring >= 0.9.2.1- , Cabal >= 1.14.0- , process >= 1.1.0.1- , tuple >= 0.2.0.1- , time >= 1.4- , old-locale >= 1.0.0.4- , random >= 1.0.0.0+ base >=4.5.0.0 && < 4.8+ , directory >= 1.1.0.2 && < 1.3+ , bytestring >= 0.9.2.1 && < 0.11+ , Cabal >= 1.14.0 && < 1.19+ , process >= 1.1.0.1 && < 1.3+ , tuple >= 0.2.0.1 && < 0.3+ , time >= 1.4 && < 1.5+ , old-locale >= 1.0.0.4 && < 1.1+ , random >= 1.0.1.1 && < 1.1 hs-source-dirs: lib ghc-options: -Wall