hakyll-4.9.3.0: A static website compiler library

Safe HaskellNone
LanguageHaskell98

Hakyll.Commands

Description

Implementation of Hakyll commands: build, preview...

Synopsis

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