From b35e7f86833c1019d2fe38f747fbe401f0062c9f Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 23 Jun 2025 11:40:00 +0200 Subject: Tutorial: also point to the computed root used in the justbuild repo --- doc/tutorial/computed.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/tutorial/computed.md') 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. -- cgit v1.2.3