From 1d2a0c8136b7f8aecf5b038300a9999a6d7547f7 Mon Sep 17 00:00:00 2001 From: Njagi Mwaniki Date: Fri, 12 Feb 2016 12:33:48 +0300 Subject: [PATCH] Version bump. - Updated README - Fixed warning in src/Devel/Build.hs --- Changelog.md | 5 +++++ README.md | 20 +++++++++++++++++--- src/Devel/Build.hs | 2 +- wai-devel.cabal | 6 +++--- 4 files changed, 26 insertions(+), 7 deletions(-) diff --git a/Changelog.md b/Changelog.md index 161dbb0..f9f913a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -22,3 +22,8 @@ - Build progress in the browser - Pushed the resolver up to lts-5.2 - Fixed haddocks +- Fixed issue #16 + +### 12 Feb 2016 +- Version bump 0.0.0.3 +- Fixed issue #21 diff --git a/README.md b/README.md index 30b7daa..6899118 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,20 @@ Development server for [WAI] compliant haskell web applications. -### Installation +### Installation +#### From hackage +- stack install wai-devel +or +- cabal install wai-devel + +#### From source - cd wai-devel - stack build -- stack install +- stack install +or +- cd wai-devel +- cabal build +- cabal install The wai-devel binary will now be in your ~/.local/bin you can use it freely. @@ -14,10 +24,13 @@ The wai-devel binary will now be in your ~/.local/bin you can use it freely. ### Usage See the [wiki]. +### Contributing +No contributing page yet. Just read the haddocks. +See the [wai-devel minimal reproduction in the wiki]. + ### Issues Doesn't recompile on changes in Template Haskell files. Here is the [specific issue]. - ### Coming next - Provide a dashboard page with compilation status, GC stats, and other such useful meta-information. - Port to windows. This depends on ide-backend getting ported to Windows. @@ -26,3 +39,4 @@ Doesn't recompile on changes in Template Haskell files. Here is the [specific is [WAI]: http://www.yesodweb.com/book/web-application-interface [wiki]: https://github.com/urbanslug/wai-devel/wiki [specific issue]: https://github.com/fpco/ide-backend/issues/313 +[wai-devel minimal reproduction in the wiki]: https://github.com/urbanslug/wai-devel/wiki/Minimal-reproduction. diff --git a/src/Devel/Build.hs b/src/Devel/Build.hs index e1f3ad4..537b881 100644 --- a/src/Devel/Build.hs +++ b/src/Devel/Build.hs @@ -64,7 +64,7 @@ build buildFile runFunction watchDirectories isReverseProxy sessionConfig (fromP let -- clearLog :: IORef [String] -> IO () clearLog = do - log' <- readIORef iStrLst + _ <- readIORef iStrLst writeIORef iStrLst ([] :: [String]) case eitherSession of diff --git a/wai-devel.cabal b/wai-devel.cabal index 5a2874c..f47b2be 100644 --- a/wai-devel.cabal +++ b/wai-devel.cabal @@ -1,5 +1,5 @@ name: wai-devel -version: 0.0.0.2 +version: 0.0.0.3 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 @@ -26,11 +26,11 @@ library , Devel.Compile , Devel.Types , Devel.Build - -- Cabal generated modules. --- , Paths_wai_devel + other-modules: Devel.Paths , Devel.Modules -- Cabal generated modules. + -- Note to self: If errors, move to exposed modules. , Paths_wai_devel -- other-extensions: