diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-04-11 21:57:33 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-04-11 21:57:33 +0200 |
commit | f9699509771346ec53c0acc82c014a355857557d (patch) | |
tree | 6a67fdad6832b689376079c432f5a66ca82dd3bf /src/Hakyll/Core/Rules/Internal.hs | |
parent | b9efc54e931bae76a3a2255bc07249210f2abc62 (diff) | |
download | hakyll-f9699509771346ec53c0acc82c014a355857557d.tar.gz |
Playing around with groups
Diffstat (limited to 'src/Hakyll/Core/Rules/Internal.hs')
-rw-r--r-- | src/Hakyll/Core/Rules/Internal.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Hakyll/Core/Rules/Internal.hs b/src/Hakyll/Core/Rules/Internal.hs index 0e117ec..bcba414 100644 --- a/src/Hakyll/Core/Rules/Internal.hs +++ b/src/Hakyll/Core/Rules/Internal.hs @@ -63,6 +63,7 @@ data RuleState = RuleState data RuleEnvironment = RuleEnvironment { rulesResourceProvider :: ResourceProvider , rulesPattern :: Pattern + , rulesGroup :: Maybe String } -- | The monad used to compose rules @@ -85,4 +86,5 @@ runRules rules provider = state = RuleState {rulesMetaCompilerIndex = 0} env = RuleEnvironment { rulesResourceProvider = provider , rulesPattern = mempty + , rulesGroup = Nothing } |