hakyll-4.9.7.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 #

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