redox/recipes/other/book/recipe.toml
2026-11-03 17:17:24 -03:00

17 lines
351 B
TOML

[package]
description = "Redox high-level documentation and manual"
[source]
git = "https://gitlab.redox-os.org/redox-os/book.git"
shallow_clone = true
[build]
template = "custom"
dev-dependencies = [
"host:mdbook"
]
script = """
dir="${COOKBOOK_STAGE}/usr/share/book"
mkdir -pv "${dir}"
mdbook build --dest-dir "${dir}" "${COOKBOOK_SOURCE}"
"""