stache 1.2.0 → 1.2.1
raw patch · 3 files changed
+8/−2 lines, 3 filesdep ~aesondep ~criteriondep ~template-haskell
Dependency ranges changed: aeson, criterion, template-haskell, yaml
Files
- CHANGELOG.md +6/−0
- Text/Mustache/Compile/TH.hs +1/−1
- stache.cabal +1/−1
CHANGELOG.md view
@@ -1,3 +1,9 @@+## Stache 1.2.1++* Fixed a bug in `compileMustacheDir'` from `Text.Mustache.Compile.TH`: it+ did not use the supplied predicate and selected only `.mustache` files+ like `compileMustacheDir`.+ ## Stache 1.2.0 * Added `compileMustacheDir'` and `getMusthacheFilesInDir'` that allow for a
Text/Mustache/Compile/TH.hs view
@@ -74,7 +74,7 @@ -> Q Exp -- ^ The resulting template compileMustacheDir' predicate pname path = do runIO (C.getMustacheFilesInDir' predicate path) >>= mapM_ addDependentFile- (runIO . try) (C.compileMustacheDir pname path) >>= handleEither+ (runIO . try) (C.compileMustacheDir' predicate pname path) >>= handleEither -- | Compile single Mustache template and select it. --
stache.cabal view
@@ -1,5 +1,5 @@ name: stache-version: 1.2.0+version: 1.2.1 cabal-version: >= 1.18 tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.1 license: BSD3