Examples in Practice

Updated Nov 24, 2025

Refer to the examples/ directory in the Netsuke repository for practical manifest files:

  • basic_c.yml: A simple C project compilation. Demonstrates vars, rules, targets, and defaults.

  • website.yml: Builds a static website from Markdown files using Pandoc. Shows glob, foreach, and path manipulation filters (basename, with_suffix).

  • photo_edit.yml: Processes RAW photos with darktable-cli and creates a gallery. Uses glob, foreach, and actions.

  • visual_design.yml: Rasterizes SVG files using Inkscape. Uses env function with a default.

  • writing.yml: Compiles a multi-chapter book from Markdown to PDF via LaTeX. Shows more complex dependencies and sorting of glob results.

These examples illustrate how to combine Netsuke's features to manage different kinds of build workflows effectively.