shakespeare-css 0.10.6 → 0.10.7
raw patch · 3 files changed
+9/−1 lines, 3 files
Files
- Text/Cassius.hs +3/−0
- Text/Css.hs +3/−0
- shakespeare-css.cabal +3/−1
Text/Cassius.hs view
@@ -173,6 +173,9 @@ cassiusFile :: FilePath -> Q Exp cassiusFile fp = do+#ifdef GHC_7_4+ qAddDependentFile fp+#endif contents <- fmap TL.unpack $ qRunIO $ readUtf8File fp cassiusFromString contents
Text/Css.hs view
@@ -52,6 +52,9 @@ cssFileDebug :: Q Exp -> Parser [TopLevel] -> FilePath -> Q Exp cssFileDebug parseBlocks' parseBlocks fp = do s <- fmap TL.unpack $ qRunIO $ readUtf8File fp+#ifdef GHC_7_4+ qAddDependentFile fp+#endif let a = either (error . show) id $ parse parseBlocks s s let (scope, contents) = go a vs <- mapM (getVars scope) contents
shakespeare-css.cabal view
@@ -1,5 +1,5 @@ name: shakespeare-css-version: 0.10.6+version: 0.10.7 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -41,6 +41,8 @@ other-modules: Text.MkSizeType Text.Css ghc-options: -Wall+ if impl(ghc >= 7.4)+ cpp-options: -DGHC_7_4 test-suite test hs-source-dirs: test