Hakyll.Commands

hakyll-4.9.5.1: 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 #

Build the site

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

Run the checker and exit

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

Remove the output directories

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

Preview the site

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

Rebuild the site

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

Start a server

deploy :: Configuration -> IO ExitCode #

Upload the site

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

Watch and recompile for changes