(zilch lang ninja): document incremental build

Change-Id: I6a6a696472806049b5ecab203487254f32a716b7
This commit is contained in:
puck 2025-10-01 14:59:25 +00:00
parent 0036f464ac
commit 3e23769348
2 changed files with 38 additions and 5 deletions

View file

@ -25,15 +25,17 @@ written. See the documentation at https://puck.moe/zilch/docs/.
== Subcommands
*build* [_TARGET_]...::
Build the derivation described by the configuration file, or the
target nammes from its Ninja file, if any are passed as arguments.
target names from its Ninja file, if any are passed as arguments.
*source* [_DIR_]::
Write the source of the derivation to _DIR_, or to `src` if no
Write the source of the derivation and its rewrites to the path in
`override-source`, using _DIR_ (or `src`) for the root if no
directory is provided.
*diff*::
Compare the 'canonical' source of the derivation to that in the
source directory (`src`, or the path selected by `--source`.)
source directory (the path in `override-source:`, `src`, or the path
selected by `--source`.)
== Options
@ -43,7 +45,8 @@ written. See the documentation at https://puck.moe/zilch/docs/.
*-p* _NAME_::
*--project* _NAME_::
Operate only on a rewritten input derivation.
Operate only on a rewrite of the derivation. Repeat to operate on a
rewrite of a rewrite.
*-s* _DIR_::
*--source* _DIR_::