hakyll-4.9.8.0: A static website compiler library

Safe Haskell | None
Language | Haskell98

Hakyll.Commands

Description

Implementation of Hakyll commands: build, preview...

Synopsis

- build :: Configuration -> Logger -> Rules a -> IO ExitCode
- check :: Configuration -> Logger -> Check -> IO ExitCode
- clean :: Configuration -> Logger -> IO ()
- preview :: Configuration -> Logger -> Rules a -> Int -> IO ()
- rebuild :: Configuration -> Logger -> Rules a -> IO ExitCode
- server :: Configuration -> Logger -> String -> Int -> IO ()
- deploy :: Configuration -> IO ExitCode
- watch :: Configuration -> Logger -> String -> Int -> Bool -> Rules a -> IO ()

# Documentation

build :: Configuration -> Logger -> Rules a -> IO ExitCode Source #

Build the site

check :: Configuration -> Logger -> Check -> IO ExitCode Source #

Run the checker and exit

clean :: Configuration -> Logger -> IO () Source #

Remove the output directories

preview :: Configuration -> Logger -> Rules a -> Int -> IO () Source #

Preview the site

rebuild :: Configuration -> Logger -> Rules a -> IO ExitCode Source #

Rebuild the site

server :: Configuration -> Logger -> String -> Int -> IO () Source #

Start a server

deploy :: Configuration -> IO ExitCode Source #

Upload the site

watch :: Configuration -> Logger -> String -> Int -> Bool -> Rules a -> IO () Source #

Watch and recompile for changes