From 1c9297452be76ae7aa1f1f18714d591ac0b16320 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Wed, 23 Mar 2022 21:20:36 -0700 Subject: [PATCH] Document indentation rules (#1142) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 83f82c6..1ae9d98 100644 --- a/README.md +++ b/README.md @@ -1562,6 +1562,10 @@ foo: pwd ``` +### Indentation + +Recipe lines can be indented with spaces or tabs, but not a mix of both. All of a recipe's lines must have the same indentation, but different recipes in the same `justfile` may use different indentation. + ### Multi-Line Constructs Recipes without an initial shebang are evaluated and run line-by-line, which means that multi-line constructs probably won't do what you want.