packages feed

yesod-bin 1.4.18.2 → 1.4.18.3

raw patch · 3 files changed

+18/−3 lines, 3 files

Files

AddHandler.hs view
@@ -120,9 +120,20 @@         | otherwise = x : go xs  fixCabal :: String -> String -> String-fixCabal name =-    unlines . reverse . go . reverse . lines+fixCabal name orig =+    unlines $ (reverse $ go $ reverse libraryLines) ++ restLines   where+    origLines = lines orig++    (libraryLines, restLines) = break isExeTestBench origLines++    isExeTestBench x = any+        (\prefix -> prefix `isPrefixOf` x)+        [ "executable"+        , "test-suite"+        , "benchmark"+        ]+     l = "                  Handler." ++ name      go [] = [l]
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.4.18.3++* Adding a new handler adds it under wrong stanza [#1273](https://github.com/yesodweb/yesod/issues/1273)+ ## 1.4.18.2  * Work around change in behavior in newer optparse-applicative ([mailing list discussion](https://groups.google.com/d/msg/yesodweb/BrTkMKFREgU/AKVc9AK2AQAJ))
yesod-bin.cabal view
@@ -1,5 +1,5 @@ name:            yesod-bin-version:         1.4.18.2+version:         1.4.18.3 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>