wai-devel 0.0.0.3 → 0.0.0.4
raw patch · 2 files changed
+8/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- src/Devel/Compile.hs +7/−3
- wai-devel.cabal +1/−1
src/Devel/Compile.hs view
@@ -44,7 +44,7 @@ import System.FilePath.Posix (takeExtension, pathSeparator) import System.Directory (doesFileExist)-import Data.List (union, delete, isInfixOf, nub, (\\))+import Data.List (union, delete, isInfixOf, nub) import Data.Maybe (fromMaybe) import Control.Monad (filterM) @@ -88,8 +88,12 @@ -- nub to remove duplicates yet again. sourceList = nub $ delete "app/DevelMain.hs" $ delete "app/devel.hs" sourceList' - -- Drop leading "./" in filepaths with `map (\x -> x \\ "./") sourceList`- return $ map (\x -> x \\ "./") sourceList -- sourceList+ -- Drop leading "./" in filepaths+ return $ map removeLeadingDotSlash sourceList+ where+ removeLeadingDotSlash ('.':'/':xs) = xs+ removeLeadingDotSlash xs = xs+ -- | Determining the target files and creating the session update.
wai-devel.cabal view
@@ -1,5 +1,5 @@ name: wai-devel-version: 0.0.0.3+version: 0.0.0.4 synopsis: A web server for the development of WAI compliant web applications. description: A development server for WAI applications. homepage: https://github.com/urbanslug/wai-devel