From 94a93c97a0df205437ff33798a7faa06953f0b66 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 24 Jan 2023 20:37:47 -0800 Subject: [PATCH] Note that justfiles are order-insensitive (#1529) --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e757409..e03591f 100644 --- a/README.md +++ b/README.md @@ -2208,7 +2208,10 @@ A The `!include` directive path can be absolute or relative to the location of the justfile containing it. `!include` directives must appear at the beginning -of a line. line. +of a line. + +Justfiles are insensitive to order, so included files can reference variables +and recipes defined after the `!include` directive. `!include` directives are only processed before the first non-blank, non-comment line.