Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

My first Werkfile

When running werk, it looks for a Werkfile in the current directory, and all its parent directories.

Create a Werkfile in a directory with the following contents:

default target = "hello"
default cache-dir = "target"

task hello {
    info "Hello, World!"
}

Run werk in the directory:

$ werk
[info] Hello, World!
[ ok ] hello