swish 0.9.0.7 → 0.9.0.8
raw patch · 2 files changed
+20/−4 lines, 2 filesdep ~semigroups
Dependency ranges changed: semigroups
Files
- app/RunW3CTests.hs +8/−1
- swish.cabal +12/−3
app/RunW3CTests.hs view
@@ -45,6 +45,7 @@ import Control.Monad (forM_) import Data.Maybe (catMaybes)+import Data.Version (showVersion) import Network.URI (URI, parseURI, parseURIReference, relativeTo, uriPath, uriScheme) @@ -60,6 +61,8 @@ import System.FilePath (splitFileName) import System.IO (hFlush, hPutStr, hPutStrLn, stderr, stdout) +import Paths_swish (version)+ -- | The base URI for the tests. base :: Maybe URI base = parseURI "http://www.w3.org/2013/TurtleTests/"@@ -188,9 +191,11 @@ nopass :: String -> IO (Maybe String) nopass e = putStrLn "[FAIL]" >> failedAction e +-- Ensure that the string ends in a space; it may exceed+-- 60 characters (ASCII) wide. ljust :: String -> IO () ljust m =- putStr $ m ++ replicate (60 - length m) ' '+ putStr $ m ++ replicate (59 - length m) ' ' ++ " " -- | Compare the two files. evalAction ::@@ -316,6 +321,8 @@ main :: IO () main = do+ -- As there's no command-line options, always display the version+ putStrLn $ "Swish library: " ++ showVersion version args <- getArgs case args of [fname] -> readManifest fname >>= runTests
swish.cabal view
@@ -1,5 +1,5 @@ Name: swish-Version: 0.9.0.7+Version: 0.9.0.8 Stability: experimental License: LGPL License-file: LICENSE @@ -44,6 +44,15 @@ . * Complete, ready-to-run, command-line and script-driven programs. .+ Changes in version @0.9.0.8@:+ .+ * Updated the upper bound on the semigroup dependency (thanks to + Leif Warner).+ .+ * Display library version when running the @runw3ctests@ executable+ and ensure there is a space between file name and test result in the+ screen output.+ . Changes in version @0.9.0.7@: . * Minor documentation fix for @Swish.RDF.Graph.quote@.@@ -149,7 +158,7 @@ network >= 2.2 && < 2.5, old-locale == 1.0.*, polyparse >= 1.6 && <= 1.9,- semigroups >= 0.5 && < 0.10,+ semigroups >= 0.5 && < 0.12, text == 0.11.*, time >= 1.1 && < 1.5 @@ -547,7 +556,7 @@ Executable runw3ctests Main-Is: RunW3CTests.hs Hs-Source-Dirs: app/ - -- Other-Modules: Paths_swish+ Other-Modules: Paths_swish ghc-options: -Wall -fno-warn-orphans