blob: 42b49aeb62e665471c463f206f1682fce9e0c329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
-- | Module providing the main hakyll function and command-line argument parsing
--
module Hakyll.Main
( hakyll
, hakyllWith
) where
import Hakyll.Core.Configuration
import Hakyll.Core.Run
import Hakyll.Core.Rules
-- | This usualy is the function with which the user runs the hakyll compiler
--
hakyll :: Rules -> IO ()
hakyll = run defaultHakyllConfiguration
-- | A variant of 'hakyll' which allows the user to specify a custom
-- configuration
--
hakyllWith :: HakyllConfiguration -> Rules -> IO ()
hakyllWith = run
|