yesod 0.9.2.1 → 0.9.2.2
raw patch · 2 files changed
+10/−3 lines, 2 filesdep ~filepathPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: filepath
API changes (from Hackage documentation)
Files
- Devel.hs +8/−1
- yesod.cabal +2/−2
Devel.hs view
@@ -2,6 +2,7 @@ {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE CPP #-} module Devel ( devel ) where@@ -35,6 +36,12 @@ import Build (recompDeps, getDeps,findHaskellFiles) +#if __GLASGOW_HASKELL__ >= 700+#define ST st+#else+#define ST $st+#endif+ lockFile :: FilePath lockFile = "dist/devel-terminate" @@ -137,7 +144,7 @@ showPkgName = (\(D.PackageName n) -> n) . D.pkgName develFile :: D.PackageId -> T.Text-develFile pid = [st|+develFile pid = [ST| {-# LANGUAGE PackageImports #-} import "#{showPkgName pid}" Application (withDevelAppPort) import Data.Dynamic (fromDynamic)
yesod.cabal view
@@ -1,5 +1,5 @@ name: yesod-version: 0.9.2.1+version: 0.9.2.2 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -100,7 +100,7 @@ , attoparsec-text >= 0.8.5 && < 0.9 , http-types >= 0.6.1 && < 0.7 , blaze-builder >= 0.2 && < 0.4- , filepath >= 1.2 && < 1.3+ , filepath >= 1.1 && < 1.3 , process ghc-options: -Wall -threaded main-is: main.hs