Cherry.Commands.Build (cherry v0.1.0-rc.3)

Copy Markdown View Source

Builds the site into _site/.

Usage

mix cherry.build [--source DIR] [--out DIR] [--drafts] [--future] [--json]
  • --source — site root containing cherry.exs (default: cwd)
  • --out — output directory (default: SOURCE/_site)
  • --drafts — include posts marked draft: true
  • --future — include posts dated after today

With --json, emits the standard envelope with page and asset counts.

Summary

Functions

The single-sourced doc text, reused as the mix task's @moduledoc.

Functions

doc()

@spec doc() :: String.t()

The single-sourced doc text, reused as the mix task's @moduledoc.