summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Rules/Internal.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-04-11 21:57:33 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-04-11 21:57:33 +0200
commitf9699509771346ec53c0acc82c014a355857557d (patch)
tree6a67fdad6832b689376079c432f5a66ca82dd3bf /src/Hakyll/Core/Rules/Internal.hs
parentb9efc54e931bae76a3a2255bc07249210f2abc62 (diff)
downloadhakyll-f9699509771346ec53c0acc82c014a355857557d.tar.gz
Playing around with groups
Diffstat (limited to 'src/Hakyll/Core/Rules/Internal.hs')
-rw-r--r--src/Hakyll/Core/Rules/Internal.hs2
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
}