Hello World
The smallest useful Netsuke manifest in this repository. Demonstrates `vars`, inline target commands, source files, and default outputs without any reusable rule machinery.
Explore small, concrete Netsuke manifests. Each example shows one part of the language clearly enough to steal without regret.
A small C build expressed in plain YAML. Reuse one compile rule, link two object files, and let Netsuke translate the graph for Ninja.
netsuke_version: "1.0.0"
rules:
- name: "compile"
command: "gcc -c {{ ins }} -o {{ outs }}"
targets:
- name: "main.o"
rule: "compile"
sources: "src/main.c"
- name: "app"
command: "gcc {{ ins }} -o {{ outs }}"
sources: ["main.o", "utils.o"]
The smallest useful Netsuke manifest in this repository. Demonstrates `vars`, inline target commands, source files, and default outputs without any reusable rule machinery.
Compile Markdown pages with Pandoc, then assemble a shared index page from the same sources. Shows `foreach`, `order_only_deps`, and reusable rules in one small manifest.
Convert RAW photos into JPEG output, then regenerate a gallery page from the converted files. Shows `foreach`, `always`, and a preview action.
Rasterise listed SVG designs from `design/svg/` into PNG output with Inkscape. Shows variable-driven tooling, templated output names, and a clean action without hiding the graph in helper scripts.
A small C build expressed in plain YAML. Reuse one compile rule, link two object files, and let Netsuke translate the graph for Ninja.
Convert chapter Markdown into TeX, then assemble a PDF with `latexmk`. Shows directory targets, explicit dependencies, and ordered document assembly in one manifest.
The best way to learn Netsuke is by seeing it in action. If you've built something interesting, contribute it to our examples repository.