summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-06-23 11:40:00 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-06-23 15:09:10 +0200
commitb35e7f86833c1019d2fe38f747fbe401f0062c9f (patch)
tree1913ed46e249297dd9208bb46847b879f3de9b6c
parent2c0bc31b7f5b8b3c0d17b67d7c2b29479bb531bf (diff)
downloadjustbuild-b35e7f86833c1019d2fe38f747fbe401f0062c9f.tar.gz
Tutorial: also point to the computed root used in the justbuild repo
-rw-r--r--doc/tutorial/computed.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/tutorial/computed.md b/doc/tutorial/computed.md
index 96e27dbe..df455e93 100644
--- a/doc/tutorial/computed.md
+++ b/doc/tutorial/computed.md
@@ -342,3 +342,10 @@ Obviously, the tree structure has changed, so `"src target tasks
decription"` target gets rebuild. Also, the `"src target build"`
target gets rebuild, but if we inspect the log, we see that 2 out
of 3 actions are taken from cache.
+
+A similar construction is also used in the `justbuild` main `git`
+repository for describing the task of formatting all JSON files: the
+target root of the logical repository `"format-json"` is computed,
+based on the underlying tree structure. Again, the workspace root
+for `"format-json"` is the plain file root, so that uncommitted
+changes (to committed files) are taken into account.