yesod-bin 1.6.0.4 → 1.6.0.5
raw patch · 5 files changed
+25/−16 lines, 5 filesdep ~base
Dependency ranges changed: base
Files
- AddHandler.hs +12/−12
- ChangeLog.md +6/−0
- Devel.hs +2/−1
- README.md +1/−0
- yesod-bin.cabal +4/−3
AddHandler.hs view
@@ -62,18 +62,18 @@ addHandlerInteractive = do cabal <- getCabal let routeInput = do- putStr "Name of route (without trailing R): "- hFlush stdout- name <- getLine- checked <- checkRoute name cabal- case checked of- Left err@EmptyRoute -> (error . show) err- Left err@RouteCaseError -> print err >> routeInput- Left err@(RouteExists _) -> do- print err- putStrLn "Try another name or leave blank to exit"- routeInput- Right p -> return p+ putStr "Name of route (without trailing R): "+ hFlush stdout+ name <- getLine+ checked <- checkRoute name cabal+ case checked of+ Left err@EmptyRoute -> (error . show) err+ Left err@RouteCaseError -> print err >> routeInput+ Left err@(RouteExists _) -> do+ print err+ putStrLn "Try another name or leave blank to exit"+ routeInput+ Right p -> return p routePair <- routeInput putStr "Enter route pattern (ex: /entry/#EntryId): "
ChangeLog.md view
@@ -1,3 +1,9 @@+# ChangeLog for yesod-bin++## 1.6.0.5++* Use process groups to ensure GHC is killed on Ctrl-C [#1683](https://github.com/yesodweb/yesod/pull/1683)+ ## 1.6.0.4 * Support Cabal 3.0
Devel.hs view
@@ -345,7 +345,8 @@ myPath <- getExecutablePath let procConfig = setStdout createSource $ setStderr createSource- $ setDelegateCtlc True $ proc "stack" $+ $ setCreateGroup True -- because need when yesod-bin killed and kill child ghc+ $ proc "stack" $ [ "build" , "--fast" , "--file-watch"
README.md view
@@ -83,6 +83,7 @@ `yesod devel` also writes to a file `yesod-devel/devel-terminate`. Your devel script should respect this file and shutdown whenever it exists.+ (It may be fixed in 1.6.0.5.) * If your .cabal file defines them, `yesod devel` will tell Stack to build with the flags `dev` and `library-only`. You can use this to speed up compile times (biggest win: skip building executables, thus
yesod-bin.cabal view
@@ -1,5 +1,5 @@ name: yesod-bin-version: 1.6.0.4+version: 1.6.0.5 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -8,7 +8,7 @@ description: See README.md for more information category: Web, Yesod stability: Stable-cabal-version: >= 1.6+cabal-version: >= 1.10 build-type: Simple homepage: http://www.yesodweb.com/ @@ -19,12 +19,13 @@ *.pem executable yesod+ default-language: Haskell2010 if os(windows) cpp-options: -DWINDOWS if os(openbsd) ld-options: -Wl,-zwxneeded - build-depends: base >= 4.3 && < 5+ build-depends: base >= 4.10 && < 5 , Cabal >= 1.18 , bytestring >= 0.9.1.4 , conduit >= 1.3